1段階目終わりました

This commit is contained in:
2026-09-14 14:52:18 +09:00
parent e8b163e1b6
commit d694f1f22f
2 changed files with 12 additions and 1 deletions

View File

@@ -2,7 +2,14 @@
public class BasicCheck1 {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Book book = new Book();
String title = "吾輩は猫である";
String author = "夏目礎石";
int price = 800;
System.out.println(title);
System.out.println(author);
System.out.println(price);
}

View File

@@ -1,4 +1,8 @@
public class Book {
String title;
String author;
int price;
}