段階2完了いたしました。
This commit is contained in:
14
em-oop/src/BasicCheck2.java
Normal file
14
em-oop/src/BasicCheck2.java
Normal file
@@ -0,0 +1,14 @@
|
||||
|
||||
public class BasicCheck2 {
|
||||
public static void main(String[] args) {
|
||||
Student student = new Student(1,"鈴木一郎");
|
||||
|
||||
student.studentId = 1;
|
||||
student.name = "鈴木一郎";
|
||||
|
||||
// System.out.print("学籍番号"+student.studentId);
|
||||
// System.out.print("名前:" + student.name);
|
||||
student.printProfile();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user