Rose Montejo wrote:My assignment is to create a class address book that can contain 100 entries of Address Book Entry objects. But i have errors. Please help me to have correct output for my program.
Hi Rose, and welcome to JavaRanch.
Like Volodymyr, I have no idea what your problem is, because you haven't told us, and ItDoesntWorkIsUseless (←click).
Are you getting compiler errors? Or does it run, but just not do what you want? TellTheDetails.
Oh, and I suggest you EaseUp; lots of exclamation marks don't get your post answered any quicker (in fact, possibly the reverse); so you might want to think about changing your subject line to something a bit calmer.
Do write code for these methods and let us know if you still get any errors.
However, It would be great to start learning Java with some good book on Java core.
Also do a lot of code on Java core.
Rose Montejo wrote:
My problem are the line 55-105 & 120.
Then delete them - problem solved!!!
If you want us to help, then you must TellTheDetails. That means - at minimum - Does it compile? Does it run? Does it crash when it does run? Does it give output different than what you expect? What did you expect, and what did it give.
If you have SPECIFIC questions about something, then ask that. You cannot expect anyone here to take their valuable time to look at 120+ lines of code saying you need help with almost half.