10/16自習

This commit is contained in:
2026-10-16 17:59:31 +09:00
parent 6e9775e57f
commit badb7eb520
62 changed files with 859 additions and 9 deletions

View File

@@ -0,0 +1,11 @@
public class User {
//フィールドの宣言
int id;
String name;
//メソッド作成
public void printProfile() {
System.out.println("ID"+ id + ":" + name);
}
}