标题: My first java object [打印本页] 作者: qintel 时间: 2007-04-17 23:48 标题: My first java object
Today, I write my first java program with constructor. Though it was simple, but it was a new start. It named class b, and have only statement in it: System.out.println("class b"); I invocate(invoke) it in class a by a statement b cc=new b(); it run successful and worked correctly.
In additional to, I write a new method in class b, it was invoked correctly.
I have enjoy it. Haha.