+ 1

What is unexpected type requried:variable found:value

this error is in System.out.println

30th Sep 2019, 6:31 AM
Mayank Vardhan
Mayank Vardhan - avatar
2 odpowiedzi
+ 1
Can you please share the code in Description? it will help people understand if they can look at it directly : )
30th Sep 2019, 7:27 AM
Ipang
+ 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.
30th Sep 2019, 2:08 PM
Denise Roßberg
Denise Roßberg - avatar