Where is the variable: nums defined? The compiler can not find its definition in scope (within the same pair of {}s) where it is being used.
Post the code that shows where nums is defined and...
Type: Posts; User: Norm
Where is the variable: nums defined? The compiler can not find its definition in scope (within the same pair of {}s) where it is being used.
Post the code that shows where nums is defined and...
The id String inside the "s is to put a label on what is printed in case there is more than one printed to be able to identify which print statement printed it.
That is the String returned by an int array's toString() method when you print using the array's name.
To see the contents of an array, try this
System.out.println("an ID "+...