Compile time error
All syntax error will be detected and displayed by the java compile and therefore this error is known as compile tile error. Whenever the compiler displayed and error it will not create the class file. It is therefore necessary we fixed all the error before we can successful. Compile and run the program most of the compile time error and due typing mistakes. The most common problems are : –
1..Missing semicolons.
2..Missing on mismatch of brackets in classes and method.
3..Misspelling of identifier on keyword.
4..Missing double quotes in strings.
5..Use of undeclared variable.
6..In compatible time in assignment or initialization.
7..Bad references of object.
8..Use of== in place of== proposer.
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment