Identify contacts by type when displaying details of contact

Assignment Help JAVA Programming
Reference no: EM131270025

Assignmetn

Introduction:

As a competent programmer, your ability to develop programs that implement inheritance, polymorphism, and collections will help you design and develop applications to meet customer requirements. This project is an opportunity for you to peer behind the scenes at how a program may function and will help you apply object- oriented programming skills in a familiar, real-world scenario.

Scenario:

You have been assigned by your employer to create a computer application to help employees manage their contact list. Users must be able to store two types of contacts: business and personal. Both types have common fields as well as properties unique to them. The application needs to accept and store contacts by type. Your team lead has required that you use an object-oriented design for the application. You are encouraged to consider usability of the system when designing the user interface. It is up to you if you want to use a menu-driven or graphical user interface; however, the approach needs to create an inheritance relationship for the contacts in order to facilitate evolving this application to easily add new contact types in the future.

Requirements:

Note: Submit all .java and .class files in one zipped folder.

Note: To complete this project, you will need the latest Java SE Development Kit (JDK). This includes the Java Runtime Environment (JRE) and command line development tools that are useful for developing applets and applications. It is recommended that you complete this project using NetBeans Integrated Development Environment. To download this program, see the web link below.

Create a contact list application that meets the employer's following minimum requirements.

A. Input Requirements

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."

• add a business contact
• add a personal contact
• display contacts
• quit

2. Include a prompt that allows the user to enter the following identifiable information when the "add a business contact" command is selected:

• first name
• last name
• address
• phone number
• e-mail address
• job title
• organization

Note: You are not required to store the contact information as persistent data in a database.

3. Include a prompt that allows the user to enter the following identifiable information when the "add a personal contact" command is selected:

• first name
• last name
• address
• phone number
• e-mail address
• date of birth

B. Output Requirements

1. Display the results to the user on screen in a readable and descriptive format (e.g., System.out) by doing the following:

a. Display all contacts' first and last names when the "display contacts" command is selected.
b. Include a numeric key for each contact that will be used to invoke the method that displays the contact details.

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).

a. Identify contacts by type when displaying the details of a contact: business or personal.

C. Design Requirements

1. Demonstrate use of collections (e.g., TreeSets, ArrayList).
2. Demonstrate use of encapsulation.
3. Demonstrate use of inheritance by doing the following:

a. Create one abstract class.
b. Create two subclasses.

4. Demonstrate use of polymorphism by overriding a method of the abstract class in both subclasses (i.e., method that displays contact details).

Reference no: EM131270025

Questions Cloud

Swapping the contents of two registers : Write MIPS assembly code for swapping the contents of two registers, $t0 and $t1. You may not use any other registers.
Compare that tendency with instances of safeguarding : Examine Adler's 3 safeguarding tendencies in the text. Select 1 of the tendencies and compare that tendency with instances of safeguarding that you find in Scripture. Demonstrate how that situation would have been improved if safeguarding tendenci..
Design an algorithm for reversing the words in the sentence : Design an algorithm for counting the number of 1's in a 32-bit number. Implement your algorithm using MIPS assembly code.
Which might be least amenable to rehabilitation : Wayne williams and casey anthony which of these murderers might be most amenable to rehabilitation and which might be least amenable to rehabilitation.
Identify contacts by type when displaying details of contact : Identify contacts by type when displaying the details of a contact: business or personal. Display all contacts' first and last names when the "display contacts" command is selected.
Evaluate whether free trade policies : 1. In that regard critically evaluate whether free trade policies are better than a protectionist one. 2. Using two different countries of your choice as an example, discuss David Ricardo's Theory of Comparative Advantage and explain its relevance..
Test whether a given string is a palindrome : Design an algorithm for testing whether a given string is a palindrome. (Recall that a palindrome is a word that is the same forward and backward. For example, the words "wow" and "racecar" are palindromes.) Implement your algorithm using MIPS ass..
Explains the functions and limitations of neural plasticity : Prepare a 1,050- to 1,400-word paper that explains the functions and limitations of neural plasticity in the participant's recovery process. Include two to three peer-reviewed sources.
Find gini index of income concentration for the lorenz curve : Discuss the effect of the area bounded by x = y and the Lorenz curve getting larger relative to the equitable distribution of income.

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd