Skip to content

HanaB14/OOP_PhoneBook

Repository files navigation

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

About

A Java-based PhoneBook application demonstrating object-oriented programming principles, including inheritance, polymorphism, method overriding, and interfaces. The application supports admin and user roles with functionalities such as adding, editing, deleting, sorting, and searching phonebook entries.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages