Undefined variable not shown as error with Java Eclipse -
By entering and compiling Java class, there was no error in the code
< Code> public class exam {public static zero main (string agre []) {xCase = yCase + 100; }} The identifiers xCase and yCase can not be defined, this can not be correct, so I got 2 errors by running the command line compiler to check it
C: \ Test> Javac Test. Java Test. Java <> Error: Icons can not find xCase = yCase + 100; ^ Symbol: Variable xCase Location: Class Test Test. Java Sign: Error: The icon xCase = yCase + 100 can not be found; ^ Symbol: Variable yCase Location: Class Test 2 Errors Why is Eclipse not showing me this error?
Resolve red markers in "Marker" first.
Comments
Post a Comment