摘要:
1 List<String> list = new ArrayList<String>(); 2 list.add("a"); 3 list.add("b"); 4 list.add("c"); 5 list.forEach(System.out::println); 阅读全文
摘要:
在pom.xml添加依赖 1 <dependency> 2 <groupId>org.springframework.boot</groupId> 3 <artifactId>spring-boot-starter-test</artifactId> 4 <scope>test</scope> 5 阅读全文
摘要:
1 @SpringBootApplication 2 @ImportResource("classpath:bean.xml") 3 public class MySpringBootApplication { 4 5 public static void main(String[] args) { 阅读全文