메소드
메소드 String name; int age; String addr; public Student (Strung name, int age, String addr){ super(); sysout("매개변수 3개짜리 생성자"); this.name = name; this.age = age; this.addr=addr; } public String getName() { return name; } public void setName(String name) { this.name = name; } public int getAge() { return age; } public void setAge(int age) { this.age = age; } public String getAddr() { return addr; } ..
2023.12.06