Outside of any method, I did
static
String wordNames[] = new String[ 99 ] ;
Inside main(), I did
wordNames[ 0 ] = "Zero" ;
wordNames[ 1 ] = "One" ;
...
The nitpicker said "You have declared the array. You have not initialized it. Initialize the arrays when they are declared.
Use a static initializer."
I thought that 'static String wordNames[]' was the declaration,
and that ' = new String[ 99 ] ;' was the initialization,
then the 'wordNames[ 0 ] = "Zero" ;' was the assignment?
I understand initializing an array when declaring it, as a style issue to keep things together.
I don't understand where the lines are between declaration/initialization/assignment, or how it's not static...???