|
|
@ -7,9 +7,5 @@ public class TestFirst {
|
|
|
|
public static void main(String[] args) {
|
|
|
|
public static void main(String[] args) {
|
|
|
|
ApplicationContext ac=new ClassPathXmlApplicationContext("bean-first.xml");
|
|
|
|
ApplicationContext ac=new ClassPathXmlApplicationContext("bean-first.xml");
|
|
|
|
System.out.print("Hello and welcome!");
|
|
|
|
System.out.print("Hello and welcome!");
|
|
|
|
System.out.print("Hello and welcome! hjb");
|
|
|
|
|
|
|
|
System.out.print("Hello and welcome! yuleyuan");
|
|
|
|
|
|
|
|
System.out.print("Hello and welcome! lvk");
|
|
|
|
|
|
|
|
System.out.print("Hello and welcome! yq");
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|