A type is the name of a class or a primitive like int. By convention class names should start with uppercase letters.
You are using the symbol: name where there should be the name of a class. For...
Type: Posts; User: Norm
A type is the name of a class or a primitive like int. By convention class names should start with uppercase letters.
You are using the symbol: name where there should be the name of a class. For...
Can you post the full text of the compiler's error messages?
The javac command must be able to find definitions for the classes that you use in a java source file when it is compiling that source file. The definition files for the classes should be on the...
open a command prompt window, use the change directory (CD) command to change to the directory with the source file: (.java) and enter the command:
javac <THESOURCEFILENAMEHERE>.java
If the javac...
Sorry I can not see the 'x's from your IDE (not compiler)
Use the javac command to get the compiler error messages.
Those are not compiler error messages. They are generated by the IDE. Those messages are missing a lot of information about the errors. The IDE must give you some visual indication of the error in...
That sounds like a compiler error. Please copy and paste here the full text of the error messages.
You create an instance of a class by using a new statement:
new TheClassName();
What do you want or expect the class to do when you execute it?
To make a program from a class, add a main() method to it. The main() method will have to create an instance of the class and call its methods as needed.
Please Edit your post and wrap your code...