Példa
public
static
void
main(
String
[] args ){
String
notClear1 =
null
, notClear2[] =
null
;
notClear1 = args[
0
];
notClear2[
0
] = args[
1
];
}
Megoldás
Válassza el egymástól az alapszintű- és tömbváltozók deklarációját.
public
static
void
main(
String
[] args ){
String
notClear1 =
null
;
String
[] notClear2 =
null
;
notClear1 = args[
0
];
notClear2[
0
] = args[
1
];
}