Hi! I am new member of this forum. And I'm also a beginner of Java Programs. 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.
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.
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here
Well Rose, a quick look at your code tells me the reason why you got the error's. Now here is the best part of the story, Almost all the errors were related to methods that dont exist in your code. So this leads me to wonder, "Are you sure, you have written this code?", because if that is so, then sadly you forgot to write code for methods like "setName(), setAdd(), setPhoneNo(), setEmail(), getInfo(), getInfo2(), getName()"
Do write code for these methods and let us know if you still get any errors.
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.
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors