摘要:
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
~王~
阅读(150)
评论(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
~王~
阅读(144)
评论(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
~王~
阅读(172)
评论(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
~王~
阅读(82)
评论(0)
推荐(0)
浙公网安备 33010602011771号