質問編集履歴
1
こーどの修正
title
CHANGED
|
File without changes
|
body
CHANGED
|
@@ -95,6 +95,7 @@
|
|
|
95
95
|
} else {
|
|
96
96
|
System.out.print(" Date of birth is unknown.\n");
|
|
97
97
|
}
|
|
98
|
+
}
|
|
98
99
|
static void birthday(int year,int month,int day){
|
|
99
100
|
System.out.print("Date of Birth: " + this.year
|
|
100
101
|
+ " " + this.month
|
|
@@ -109,8 +110,10 @@
|
|
|
109
110
|
|
|
110
111
|
```
|
|
111
112
|
(実行結果)
|
|
112
|
-
ex6_2.java:
|
|
113
|
+
ex6_2.java:96: エラー: 式の開始が不正です
|
|
113
114
|
static void birthday(int year,int month,int day){
|
|
114
115
|
^
|
|
115
116
|
エラー1個
|
|
117
|
+
|
|
118
|
+
|
|
116
119
|
このようになってしまいます。public ,privateなどいろいろと試したのですが結局なにが悪いのかがわかりませんでした。回答および意見をいただけると幸いです。
|