Monday, September 26, 2011

Compiling error messages

; expected - caused by a missing semicolon or missing concatenation operator.
class not found - class is not public, there is a syntax error above the class declaration, the class does not have the correct case
possible loss of precision - an int was set to be a double or a float
statement expected - missing closing brace in a method
{ expected - missing opening brace or an extra semicolon before error spot
} expected - missing closing brace at the end of a class or method, there is code not inside a method

No comments:

Post a Comment