Skip to content

AselEsra/ContactsManager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Practice 1: ContactsManager

  • Create a ContactsManager class and create instance of that class called myContactsManager using the default constructor
  • Create a new Contact class
    1. Set the name to a friend's name
    2. Set the phoneNumber field to their phone number
  • Call the addContact method in myContactsManager to add that contact
  • Repeat steps 2 and 3 for 4 more contacts
  • Search for a contact using the method searchContact and print out their phone number

About

A simple Java contacts-manager program which prints out phone number of the searched contact.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages