摘要: package wanzai; public class Fruit { private static Fruit color=null; private Fruit() { } public static Fruit getcolor(){ if(color==null){ color=new F 阅读全文
posted @ 2016-03-08 08:14 什么玩楞啊,我叫旺仔 阅读(222) 评论(0) 推荐(0) 编辑
摘要: private int age; public String getName() { return name; } public void setName(String name) { this.name = name; } public String getSex() { return sex; 阅读全文
posted @ 2016-03-08 08:10 什么玩楞啊,我叫旺仔 阅读(336) 评论(0) 推荐(0) 编辑