Run this code as is, then run it again with the keyword static in front of the keyword int - do this until you can infer what is going on... hack away at it. If you're still having trouble understanding - Google is your best friend. 
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. to our beloved Java Forums! (closes on September 4, 2008)
Want to voice your opinion on your IDE/Editor of choice? To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. !
Got a little Capt'n in you? (drink responsibly)
|