***The objectives are to :add a person, print all people (alphabetically by name), print just Students, remove a person & retrieve a person. Classes should overload the toString()method to produce appropriate String to be used as the directory list. The listing should be produced be iterating through the Collections of entries, using the toString()method to print each entry..For remove and retrieve methods add getter method to the Persons class to return the key of the object.
I am not asking for any to do my work and I apologize if this is posted in the incorrect area. I have not been able to progress due to information overload and possibly following back examples...What I seek is a program or instruction similar to the task before me, so that I can examine it and then implement the correct coding for my project.
Errors at getKey in Directory, boolean in Faculty...
Thank you in advance, Dicoder.
This post has been edited by pbl: 08 October 2012 - 01:41 PM
Reason for edit:: Correctly tagged code post below

New Topic/Question
Reply




MultiQuote





|