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,27 @@
public class BasicCheck1 {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Book book = new Book();
// book.title = "吾輩は猫である";
// book.author = "夏目漱石";
// book.price = 800;
// book.output();
Book book1 = new Book();
book1.output();
Book book2 = new Book();
book2.title = "銀河鉄道の夜";
book2.author = "宮沢賢治";
book2.price = 500;
book2.output();
}
}