admin 管理员组

文章数量: 887021


2024年1月11日发(作者:文本框组合快捷键)

return name;}public void setName(String name) {/doc/

= name;}public int getAge() {return age;}public void setAge(int age) { = age;}public String getGender() {return gender;}public void setGender(String gender) { = gender;}public Person(String name, int age, String gender) {super();/doc/

= name; = age; = gender;}public Person() {super();}}Class2:public class Student extends Person {private String studentNo;public String getStudentNo() {return studentNo;}public void setStudentNo(String studentNo) {

tNo = studentNo;}public Student(String name, int age, String gender, String studentNo) { super(name, age, gender);tNo = studentNo;}public Student(String name, int age, String gender) {super(name, age, gender);}public Student() {// TODO Auto-generated constructor stub}public void dispaly(String name,int age,String gender,String) studentNo){n(name+" "+age+" "+gender+" "+studentNo);}}Class3:public class Text {public static void main(String[] args) {Student stu=new Student();y("王瑞坤", 19, "男", "20155153");}}


本文标签: 组合 文本框 快捷键 作者