View Single Post
Old 08-23-2006, 12:40 PM   #5 (permalink)
jaeusm
 
Software Developer

Join Date: Mar 2006

Location: Columbus, OH

Posts: 569

jaeusm is on a distinguished road

Default

First, regardless of what your book says, it is better Java programming style to define each class in its own file -- especially when first learning.

After you move each class to its own file, make sure that you've defined all the variables you'll need to use within that file. If you still have problems, post the code from both files and the error message(s).
jaeusm is offline