Advertisement
akosiraff

ContactListBusinessPersonal JAVA

Dec 8th, 2013
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.17 KB | None | 0 0
  1.  
  2. Download: http://solutionzip.com/downloads/contactlistbusinesspersonal-java/
  3. Create a contact list application that meets the employer’s following minimum requirements.
  4. A. Input Requirements
  5. 1. Include a prompt that allows the user to enter a command from the following four options, repeating the process of displaying the menu screen until the user has selected “quit.”
  6. • add a business contact
  7. • add a personal contact
  8. • display contacts
  9. • quit
  10. 2. Include a prompt that allows the user to enter the following identifiable information when the “add a business contact” command is selected:
  11. • first name
  12. • last name
  13. • address
  14. • phone number
  15. • e-mail address
  16. • job title
  17. • organization
  18. Note: You are not required to store the contact information as persistent data in a database.
  19. 3. Include a prompt that allows the user to enter the following identifiable information when the “add a personal contact” command is selected:
  20. • first name
  21. • last name
  22. • address
  23. • phone number
  24. • e-mail address
  25. • date of birth
  26. B. Output Requirements
  27. 1. Display the results to the user on screen in a readable and descriptive format (e.g., System.out) by doing the following:
  28. a. Display all contacts’ first and last names when the “display contacts” command is selected.
  29. b. Include a numeric key for each contact that will be used to invoke the method that displays the contact details.
  30. 2. Include a prompt that allows the user to enter the numeric key to display all details of the contact in a readable and descriptive format (e.g., System.out, output to a text file using FileWriter).
  31. a. Identify contacts by type when displaying the details of a contact: business or personal.
  32. C. Design Requirements:
  33. 1. Demonstrate use of collections (e.g., TreeSets, ArrayList).
  34. 2. Demonstrate use of encapsulation.
  35. 3. Demonstrate use of inheritance by doing the following:
  36. a. Create one abstract class.
  37. b. Create two subclasses.
  38. 4. Demonstrate use of polymorphism by overriding a method of the abstract class in both subclasses (i.e., method that displays contact details).
  39.  
  40. Download: http://solutionzip.com/downloads/contactlistbusinesspersonal-java/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement