Not sure what you are asking to declare. If the Checkup.java file compiles and creates a Checkup.class file you should be able to compile the TestCHeckup program. The compiler should find the...
Type: Posts; User: Norm
Not sure what you are asking to declare. If the Checkup.java file compiles and creates a Checkup.class file you should be able to compile the TestCHeckup program. The compiler should find the...
Since that class is defined as public, put the code in a file named: Checkup.java
For public classes, the filename = classname
First you need to decide what the purpose of the Checkup class is. What is it supposed to do?
Why does the current class need it?
Then define the class, what variables it needs to hold its data...
Where is the definition for the Checkup class? The compiler can not find a definition for it.
Please edit your post and wrap your code with code tags:
<YOUR CODE HERE>
to get highlighting and preserve formatting.
What happens when you compile and execute the code?