Computer Science, asked by Brainlystudent250004, 9 months ago

what is <identifier expected> error in java.

Answers

Answered by harshraut2004
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 rishavsharma21pd1prg
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