1 Commits

Author SHA1 Message Date
s-ohasi
2b2f0a60d0 段階1完了しました。 2026-09-14 16:16:09 +09:00
2 changed files with 12 additions and 1 deletions

View File

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

View File

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