摘要: package test; public class staticAccess { public int age; public staticAccess grow() { age++; return this; } public static void info() { System.out.println("Simple info way"); } public static void main(String[] args) { staticAccess rt=new staticAccess(); rt.age=10; rt.grow() .grow() .grow( 阅读全文
posted @ 2013-12-07 16:52 Talbot3 阅读(280) 评论(0) 推荐(0) 编辑