Skip to content

Create a program that implements a simple mobile phone with the following capabilities, Able to store, modify, remove and query contact names

Notifications You must be signed in to change notification settings

Adhouma/ArrayList_challenege

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ArrayList_challenege

/**
 * Create a program that implements a simple mobile phone with the following capabilities.
 * Able to store, modify, remove and query contact names.
 * You will want to create a separate class for Contacts (name and phone number).
 * Create a master class (MobilePhone) that holds the ArrayList of Contacts
 * The MobilePhone class has the functionality listed above.
 * Add a menu of options that are available.
 * Options:  
 * - Quit
 * - Print list of contacts
 * - Add new contact
 * - Update existing contact
 * - Remove contact
 * - Search / find contact
 * When adding or updating be sure to check if the contact already exists (use name)
 * Be sure not to expose the inner workings of the Arraylist to MobilePhone
 * e.g. no ints, no .get(i) etc
 * MobilePhone should do everything with Contact objects only.
 */

Test the challenge

  • Download or clone the project
  • Import the project in your Favorite IDE (Eclipse, IntelliJ, NetBeans ...)
  • Locate the Main class (Main.class) and right click > Run us > Java application

About

Create a program that implements a simple mobile phone with the following capabilities, Able to store, modify, remove and query contact names

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages