When the compiler says: cannot find symbol that means it can not find a definition for the symbol in the error message.
Look at the error message, get the symbol mentioned in the message and see...
Type: Posts; User: Norm
When the compiler says: cannot find symbol that means it can not find a definition for the symbol in the error message.
Look at the error message, get the symbol mentioned in the message and see...
The java command requires a main() method as described in the error message in the class that is used on the command line with the java command. For example
java TheClass
TheClass is the...
Hope it gets clearer soon.
You use the new statement to create an instance of an object.
See the tutorial:
Creating Objects (The Java™ Tutorials > Learning the Java Language > Classes and Objects)
Did you read my post about what the problem was and how to fix it?
To copy the contents of the command prompt window:
Click on Icon in upper left corner
Select Edit
Select 'Select All' - The...
Please copy the full text of the error messages and paste it here.
The compiler can not find the definiton for the symbol shown in the error message. Java is case sensitive. Check the spellings to...