2段階目完了しました。
This commit is contained in:
@@ -3,4 +3,8 @@ public class Student {
|
||||
int studentId;
|
||||
String name;
|
||||
|
||||
public void printProfile() {
|
||||
System.out.println("学籍番号:" + this.studentId + " 名前:" + this.name);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user