Did you understand what the problem with the code on line 25 was?
Type: Posts; User: Norm
Did you understand what the problem with the code on line 25 was?
The assignment statement is trying to assign a numeric value to an array. The compiler doesn't allow that. If the variable to the left of the = is an array, then the value to the right of the = must...
Please post the full text of the error message that shows what types the compiler found.
For example:
TestCode12.java:566: error: incompatible types
x = 22;
^
required:...
Please post the full text of the error message that shows the found and required types.
What line is line 25?