From e4d5c2533a7e44ee2bdf1988c6898bb4b1b8735d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=A1=B0=EC=9B=90=EC=A4=80?= <157904784+jwjdd@users.noreply.github.com> Date: Sun, 22 Sep 2024 20:27:44 +0900 Subject: [PATCH] Update personinfo.java --- personinfo.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/personinfo.java b/personinfo.java index 3bbff81..105053b 100644 --- a/personinfo.java +++ b/personinfo.java @@ -1,16 +1,16 @@ -class Person { +class PersonInformation{ // 필드 (속성) public final String name; private int studentId; - private final int age; + private int age; private String email; private String phoneNumber; public String gitId; public String interestedField; // 생성자 - public Person(String name, int studentId, int age, String email, String phoneNumber, String gitId, String interestedField) { + public PersonInformation(String name, int studentId, int age, String email, String phoneNumber, String gitId, String interestedField) { this.name = name; this.studentId = studentId; this.age = age;