2019年3月18日
摘要: package zuoye3; public class Person { private String name; private int age; private String gender; public Person(){ System.out.println("无参"); } public 阅读全文
posted @ 2019-03-18 08:13 ~王~ 阅读(147) 评论(0) 推荐(0) 编辑
摘要: package zuoye2; public class Animal { private String name; private int age; public Animal(){ System.out.println("无参"); } public Animal(String name,int 阅读全文
posted @ 2019-03-18 08:11 ~王~ 阅读(132) 评论(0) 推荐(0) 编辑
摘要: package zuoye1; public class Employee { private String name; private int id; private double salary; public Employee(){ System.out.println("无参"); } pub 阅读全文
posted @ 2019-03-18 08:10 ~王~ 阅读(168) 评论(0) 推荐(0) 编辑
摘要: package zuoye; public class Person { private String name; private int age; public Person(){ this("忘了",15); } public Person(String name,int age){ this. 阅读全文
posted @ 2019-03-18 08:08 ~王~ 阅读(79) 评论(0) 推荐(0) 编辑