段階4までです
This commit is contained in:
@@ -3,7 +3,14 @@ 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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user