Please post the code's output, add some comments that explain what is wrong with the output and post what you want the output to look like.Quote:
my code is not printing how i want it to
See the tutorial: Nested Classes (The Java™ Tutorials > Learning the Java Language > Classes and Objects)Quote:
To make the second class within the first,
Can you list the different types? I'm not sure I understand what you mean.Quote:
there are three different types of objects
Same question. What do you mean here?Quote:
why are some objects return objects and others not.
Can you copy the full contents of the console window from when you execute the program and paste it here.Quote:
I'm only getting the last input printed out
Add some comments where the program didn't do what you wanted.
Dinner time here. Be back in an hour.
Try google. That's a huge topic way past what anyone can answer here.Quote:
What are objects
Here is a basic misunderstanding that will make it hard for anyone to communicate with you about OOP.Quote:
how do I use the built in toString() object
toString() is a method not an object.
See the tutorial: The Really Big Index