回答編集履歴
1
typo
test
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
+
mine, statusの初期値は、どちらもnull。だから、NullPointerException。
|
2
|
+
|
1
3
|
```java
|
2
|
-
|
3
|
-
|
4
4
|
|
5
5
|
class test_s{
|
6
6
|
|
7
|
-
static String[] mine
|
7
|
+
static String[] mine = null;
|
8
8
|
|
9
|
-
static int[] status
|
9
|
+
static int[] status = null;
|
10
10
|
|
11
11
|
test_s(String[] mine,int[] status){
|
12
12
|
|