This project is a simple Employee and Client Management System implemented in Java, following Object-Oriented Programming (OOP) principles such as Inheritance and Encapsulation.
It is designed according to a UML diagram and models a business office scenario with different types of employees and clients.
- Implements inheritance to define various employee and client subclasses.
- Supports adding multiple employees or clients interactively via console input.
- Each class handles its own data input (
save()method) and information display (showInfo()method). - Structured code based on the provided UML diagram to demonstrate class hierarchies and relationships.
The system includes:
- Retail Client
- Wholesale Client
- Office Employee
- Finance Employee
- Finance and Cashier Employee
(Other classes like Sales or Warehouse employees can be added similarly.)
The following diagram shows the structure of the classes:
#1 Clone the repository:
git clone https://github.com/shayanaminaei/Office.git
cd Office#2 Compile the code:
javac src/**/*.java#3 Run the program:
java Main- Object-Oriented Programming (OOP)
- Inheritance for class hierarchies
- Encapsulation of class fields and methods
- Using Scanner for console input
- Looping structures to allow multiple entries
β¨ Future Improvements will be added
π¨βπ» Author:(@shayanaminaei)
