Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 1.01 KB

File metadata and controls

29 lines (24 loc) · 1.01 KB

PhoneBook Application

Overview

This Java-based PhoneBook application demonstrates fundamental Object-Oriented Programming (OOP) principles, including abstraction, encapsulation, inheritance, polymorphism, and method overriding. The system features an Admin and Normal User interface, allowing users to manage a phonebook directory.

Features

  • Admin Features:

    • Add, edit, delete, and sort phonebook entries
    • Search phonebook entries using linear search (by phone number) and binary search (by ID)
    • Print admin details
    • Change username and password
  • Normal User Features:

    • Add and edit phonebook entries
    • Search phonebook entries using linear search
    • Sort phonebook entries
    • Print user details

Technologies Used

  • Java
  • File I/O (Reading users from a file)
  • Sorting Algorithms (Selection sort)
  • Interfaces & Inheritance (Admin and User roles)
  • Encapsulation & Polymorphism

How to Run

  1. Compile the Java files:
    javac *.java