質問編集履歴

2

文章の訂正

2019/07/21 10:30

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -7,6 +7,26 @@
7
7
 
8
8
 
9
9
 
10
+
11
+ Itemクラス
12
+
13
+ 商品名: itemName String型
14
+
15
+ 単価 : cost int型
16
+
17
+ 数量 : quantity int型
18
+
19
+ itemListメソッド
20
+
21
+
22
+
23
+ (商品名,単価,数量,価格)
24
+
25
+ MP3,12000円,2,24000円
26
+
27
+ (商品名,単価,数量,価格)
28
+
29
+ USB,1980円,3,5940円
10
30
 
11
31
 
12
32
 

1

文章の訂正

2019/07/21 10:30

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -81,3 +81,19 @@
81
81
  }
82
82
 
83
83
  ```
84
+
85
+ エラー内容は以下の通りです。
86
+
87
+ ```ここに言語を入力
88
+
89
+ Exception in thread "main" java.lang.Error: Unresolved compilation problem:
90
+
91
+ ローカル・クラス Item の修飾子が正しくありません。abstract または final だけが許可されています
92
+
93
+
94
+
95
+ at CQuest01.main(CQuest01.java:5)
96
+
97
+
98
+
99
+ ```