How to add classes in Java?
[deleted]

I have kept the Main class, but when i try to change the name I get a error. Also, if i try to add classes (And I keep the Main class) I get a error stating that I have a duplicate class, however, I do not have two classes called by the same name. I have tried googling the problem but all examples of the problem are to hard for me to understand as i have just started out with Java.

You are viewing a single comment. View All
Answered by paulfears (60) [earned 5 cycles]
View Answer
[deleted]

Thanks! I understand now how to add classes. Earlier I was a bit confused about the files, but I understand them now.