サンプル
public
static
void
main(
String
[] args ) {
String
notClear1 =
null
, notClear2[] =
null
;
notClear1 = args[
0
];
notClear2[
0
] = args[
1
];
}
解決策
基本変数と配列変数の宣言を分割します。
public
static
void
main(
String
[] args ) {
String
notClear1 =
null
;
String
[] notClear2 =
null
;
notClear1 = args[
0
];
notClear2[
0
] = args[
1
];
}