+ 1
What is unexpected type requried:variable found:value
this error is in System.out.println
2 Answers
+ 1
Can you please share the code in Description? it will help people understand if they can look at it directly : )
+ 1
1 = 2;
or System.out.println(1 = 2); will cause such an error message.
1 is a value and not a variable.
I would say the message has nothing to do with the method System.out.println() but with the part which you want to print.
But it is better to share your code so we can see what you are trying to do.