May 25, 2010 at 3:45 PM
This is the error that occurs during the compilation of a resource.
1)If you will forget to put semicolon somewhere.
2)If you will put all the code inside the class body.
3)If you will not call your method properly. A method is called from any method, constructor or class object.
4)If you will not declare your class, constructor and method properly.
5)If your class name starts with any number.
6)If you will place an extra bracket or braces.