It should be obvious from the message. You need to make the name of the class and the name of the file correspond. If there is the slightest spelling diffference, the compiler won’t accept it. Your class ought to start with Capital Letters. Remember there is a difference between Something.java and something.java.
Joined: Jul 12, 2012
oh.. thank you i didn't know its case sensitive..
Joined: Oct 13, 2005
Didn’t whoever is teaching you Java tell you it’s case‑sensitive?
Well done sorting it out, and welcome to the Ranch