This project is a Hostel Management System implemented in Java using Object-Oriented Programming (OOP) concepts. The system allows you to manage hostelites (students), employees, and expenditures related to the hostel. It provides a menu-driven interface for various management operations.
Login: The system provides a login mechanism with a default username and password ("admin").
Main Menu: After logging in, the main menu is displayed with the following options:
- Hostelites Management: Manage student-related operations.
- Employees Management: Manage employee-related operations.
- Expenditure: Manage hostel expenditure operations.
- Back to Login: Return to the login screen.
- Exit: Exit the system.
Hostelites Management:
- Add a new student.
- Remove a student.
- Update student details.
- Search for a student.
- Display all students.
- Return to the main menu.
Employees Management:
- Add a new employee.
- Remove an employee.
- Update employee details.
- Display all employees.
- Return to the main menu.
Expenditure Management:
- Add an expense.
- Display all expenses.
- Return to the main menu.
Login: Upon running the program, you'll be prompted to enter the username and password. The default credentials are "admin" for both.
Main Menu: After successful login, you'll be presented with the main menu options. Choose an option by entering the corresponding number.
Submenus: Depending on the option you choose, you'll be presented with submenus for hostelites, employees, or expenditure management. Follow the prompts and enter the appropriate choices.
Navigation: You can navigate back to previous menus using the "Back" option.
Exit: To exit the system, select the "Exit" option from the main menu.
To run this project, you need to have Java installed on your system.
Clone the repository or download the source code.
Open a terminal and navigate to the project directory.
Compile the Java source code:
java Drive.java
Run the compiled program:
java Drive
Follow the on-screen instructions to interact with the system.
This project is a basic implementation of a Hostel Management System. It serves as a learning exercise and can be enhanced with additional features and error handling.
Abdul Moiz