View Single Post
Old 06-14-2007, 09:01 AM   #6 (permalink)
jaeusm
 
Software Developer

Join Date: Mar 2006

Location: Columbus, OH

Posts: 569

jaeusm is on a distinguished road

Default Re: Help with objects in Java

Quote:
I know about the constructor and I know how to make methods and how to call on the methods. I just don't know how to change a variable from a different class.
The simple answer is to create an object and call a method on that object that will update the variable. Make sure to check out some books on Java programming at Amazon.com (or whatever online bookstore you prefer).
jaeusm is offline