View Single Post
Join Date: Apr 2007
Posts: 15
Reputation: Ortal is an unknown quantity at this point 
Solved Threads: 0
Ortal Ortal is offline Offline
Newbie Poster

Re: build but not run... need a second set of eyes

 
0
  #3
Nov 1st, 2007
Originally Posted by Ezzaral View Post
Your class name needs to match the file name. You have named the class Main put placed it in midterm1.java from the looks of it.

Side note: You really could use some more white space to separate your methods and logical sections within the methods. It will make it much easier for you and others to follow the code.
So I should just rename the class as midterm1?
Reply With Quote