2日目_段階1_完了
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
|
||||
public class BasicCheck2 {
|
||||
public static void main(String[] args) {
|
||||
Student student = new Student(1,"鈴木一郎");
|
||||
|
||||
Student student = new Student();
|
||||
//
|
||||
student.studentId = 1;
|
||||
student.name = "鈴木一郎";
|
||||
|
||||
//
|
||||
// System.out.print("学籍番号"+student.studentId);
|
||||
// System.out.print("名前:" + student.name);
|
||||
student.printProfile();
|
||||
|
||||
Reference in New Issue
Block a user