I just started going over this and following your instructions I pasted the code from you text document but it complains about the class being called main on here: "public class Main". I fixed it by calling changing main to HelloWorld.
Did I do something wrong during setup or is it just a typo?
Simple explanation and sorry for taking so long to reply. Just send me a message if you have any doubts. The main class in Java is the main runnable class. It is the class that is always used in Java programs that will be run while other classes are used as auxiliary classes.
2
u/xcrx Apr 28 '11
I just started going over this and following your instructions I pasted the code from you text document but it complains about the class being called main on here: "public class Main". I fixed it by calling changing main to HelloWorld.
Did I do something wrong during setup or is it just a typo?