段階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) {
|
||||
// TODO 自動生成されたメソッド・スタブ
|
||||
Student student = new Student ();
|
||||
|
||||
student.studentId = 1;
|
||||
student.name = "鈴木一郎";
|
||||
|
||||
student.printProfile();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user