摘要: <!--[if !supportLists]-->1.1.7 只有非private的static成员才能通过类名的 方式访问。 <!--[if !supportLists]-->1.1.8 非静态方法可以访问静态成员、非静态方法。 <!--[if !supportLists]-->1.1.9 静态方 阅读全文
posted @ 2018-04-25 15:23 马鞍山 阅读(789) 评论(0) 推荐(0) 编辑
摘要: public class _01Celebrity{ //属性 public String name; public int age; public double height; public char gender; //构造器 public _01Celebrity(String name,int age,double he... 阅读全文
posted @ 2018-04-25 08:43 马鞍山 阅读(253) 评论(0) 推荐(0) 编辑