what is <identifier expected> error in java.
Answers
Answered by
1
Answer:
<identifier> expected
This error occurs when code is written outside of a method; it is typically caused by a mistake in curly braces. Consider the following example: public class Test { System.out.println("Hello!" ); public static void main(String[] args) { System.out.println("World!"
Answered by
0
Answer:
This error can occur if you have case-sensitive errors with variables. All identifiers in Java are case sensitive. This means that if you declare a variable named average and try to later refer to it using Average, the compiler will complain that it cannot find a symbol named Average.
Mark me brainliest
Similar questions