parent
9f44b03daf
commit
d002e8ebe4
@ -1,4 +1,10 @@
|
||||
package com.ssm.ioc;
|
||||
|
||||
public class TestNew {
|
||||
}
|
||||
public static void main(String[] args) {
|
||||
//1.new分类对象
|
||||
Category category=new Category();
|
||||
//2.输出Category实例的信息
|
||||
category.printMessage();
|
||||
}
|
||||
}
|
||||
Loading…
Reference in new issue