This commit is contained in:
2026-10-20 16:38:29 +09:00
parent 6a268bdb79
commit 64d90f1da5
30 changed files with 713 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
public class BasicCheck2 {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Student student1 = new Student(1,"鈴木一郎");
Student student2 = new Student(2,"田中花子");
Student student3 = new Student(3,"佐藤次郎");
student1.printProfile();
student2.printProfile();
student3.printProfile();
System.out.println("現在の生徒数:" + Student.getStudentCount() + "人");
}
}