I'm just starting to re-learn java. I've been going over some old notes I have and creating some basic applets. The point I've gotten to so far is writing a class, then importing into another java file. I've written and compiled MyClass.java to get MyClass.class. In Applet19.java, I have the following line,
that's what it says in my notes.
When I compile it, the error message is,
So I put in a dot, '.', recompiled and this time the error message was,
So I put in an asterisk, '*', and this time the error message was,
I can't think of anything else to do. What error am I making? What is the correct syntax (?) for importing your own defined class into another java file .