Hi:
I am compiling the following:
javac MyFirstApp.txt
I receive the following message?
error: Class names, 'MyFirstApp.txt',are only accepted if
annotation processing is explicitly requested.
I tried to save the file as MyFirstApp.java and then compiled
javac MyFirstApp.java
This produced a number of compiler errors.
Then I had two public class plus another class with main. The
compiler messaged the two other public classes should be in a separate
file but I was unsure how to import them to the class file with the
main class.
Any suggestions on this.
Thank you.
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/javaprogrammingwithpassion?hl=en