Skip to content

ArunBhalla26/Java-Contact-Book-CLI-Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contact Book Application

A simple Java-based contact book application where users can perform basic operations like adding, viewing, editing, and deleting contacts. This project demonstrates object-oriented programming (OOP) concepts in Java and provides a user-friendly text-based interface to manage contacts.


Project Contents

This repository contains the following:

  • Contact.java: A class representing a contact, which contains the contact's name, phone number, and email.
  • ContactBook.java: A class representing the contact book, which allows you to add, view, edit, and delete contacts.
  • ContactBookProgram.java: The main program that runs the contact book application and provides a menu for user interaction.

File Structure

The project files are organized as follows:

  • Contact.java: Contains the Contact class.
  • ContactBook.java: Contains the ContactBook class.
  • ContactBookProgram.java: The main program file.

Requirements

To run this project, you need to have the following installed on your system:

  • Java Development Kit (JDK) version 8 or above

How to Run the Project

  1. Clone the repository:

    First, clone this repository to your local machine using the following command:

    git clone https://github.com/ArunBhalla26/Java-Contact-Book-CLI-Application.git
  2. Navigate to the project directory:

    cd ContactBookApp
  3. Compile the Java files:

    java *.java
  4. Run the application:

    java ContactBookProgram.java

    The application will start, and you can interact with it through the text-based menu. Example Usage :

     ------ Contact Book -----
     1. Add a contact
     2. View contacts
     3. Edit a contact
     4. Delete a contact
     5. Exit
     Enter your choice:
    

About

A simple Conatct book application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages