View Single Post
Old 01-26-07, 11:25 AM   #17
Marvel_us's Avatar
Join Date: Dec 2005
Location: Miami, Florida
Posts: 3,754
Default Re: Sigh, Java HW Help

Okay so I created toString methods for my Name, Address and BankAccount classes that hold the various info pertaining their respective classes.

I'm thinking I should create another one in the Customer class that calls the toString from those three so when I need to display it in the test class I only call the toString from class Customer. If any one sees a problem with that speak up, please.

How would I display all the info for each object on the list now?
Main Rig
Intel Q6600 QUAD|| Gigabyte P35-DS3L ||XFX 7900GTX|| G.Skill 6GB PC2-6400 || OCZ Agility 60GB SSD || WD 320GB + WD Green 1TB HDD || Samsung 20" LCD || CoolMax 650W PSU ||

60gb PS3 Owner
PSNid: Marvel_us
Marvel_us is offline   Reply With Quote