質問編集履歴

1

こーどの修正

2018/11/08 06:12

投稿

shou_hitotose
shou_hitotose

スコア66

test CHANGED
File without changes
test CHANGED
@@ -192,6 +192,8 @@
192
192
 
193
193
  }
194
194
 
195
+ }
196
+
195
197
  static void birthday(int year,int month,int day){
196
198
 
197
199
  System.out.print("Date of Birth: " + this.year
@@ -220,7 +222,7 @@
220
222
 
221
223
  (実行結果)
222
224
 
223
- ex6_2.java:94: エラー: 式の開始が不正です
225
+ ex6_2.java:96: エラー: 式の開始が不正です
224
226
 
225
227
  static void birthday(int year,int month,int day){
226
228
 
@@ -228,4 +230,8 @@
228
230
 
229
231
  エラー1個
230
232
 
233
+
234
+
235
+
236
+
231
237
  このようになってしまいます。public ,privateなどいろいろと試したのですが結局なにが悪いのかがわかりませんでした。回答および意見をいただけると幸いです。