1段階目終わりました
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
|
||||
public class Book {
|
||||
String title;
|
||||
String author;
|
||||
int price;
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user