Skip to content

Commit

Permalink
Update personinfo.java
Browse files Browse the repository at this point in the history
  • Loading branch information
jwjdd authored Sep 22, 2024
1 parent dcda66f commit e4d5c25
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions personinfo.java
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit e4d5c25

Please sign in to comment.