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.
-
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
- Java
- File I/O (Reading users from a file)
- Sorting Algorithms (Selection sort)
- Interfaces & Inheritance (Admin and User roles)
- Encapsulation & Polymorphism
- Compile the Java files:
javac *.java