每天100行代码
wo111180611
这个作者很懒,什么都没留下…
展开
-
每天100行代码20130512
/*Code20130512 TestThis*/ /*this 用于返回当前对象的引用*/ public class Leaf { int i = 0; Leaf increment() { i++; return this; } void print() { System.out.println("i=" + i); } public static void m原创 2013-05-23 21:00:13 · 400 阅读 · 0 评论 -
每天100行代码20130513
/*Code20130513 Test Static*/ /*static 数据只占用一份存储区域*/ /*static 用于计数*/ public class StudentNum { public static void main(String args[]) { new Student(); // 增加新对象 new Student(); // 增加新对象 new Stu原创 2013-05-26 17:11:00 · 332 阅读 · 0 评论