Thread: Integer Usage
View Single Post
  #2 (permalink)  
Old 01-23-2008, 06:09 AM
CaptainMorgan's Avatar
CaptainMorgan CaptainMorgan is offline
Moderator
 
Join Date: Dec 2007
Location: NewEngland, US
Posts: 838
Rep Power: 4
CaptainMorgan will become famous soon enoughCaptainMorgan will become famous soon enough
Send a message via AIM to CaptainMorgan
Default
You're going to run into a few other problems, but lets get the first one out of the way. The correct signature for main is:
Code:
public static void main(String[] args) {....}
Fix that and then we can explore your future problems with this code. Report back your error(s) and you reasoning why you might be receiving them.
__________________
Vote for the new slogan to our beloved Java Forums! (closes on September 4, 2008)
Want to voice your opinion on your IDE/Editor of choice? Vote now!
Got a little Capt'n in you? (drink responsibly)
Reply With Quote