The Hotel Reservation System is a Java console-based application developed as part of the CodeAlpha Java Programming Internship – Task 4.
The application allows users to search for available hotel rooms, make reservations, cancel bookings, view booking details, simulate payments, and manage room availability.
The project demonstrates Object-Oriented Programming (OOP), ArrayList, File I/O, exception handling, loops, conditional statements, and menu-driven programming in Java.
- 🏨 View all hotel rooms
- 🔎 Search rooms by category
- 🛏️ Three room categories:
- Standard
- Deluxe
- Suite
- 📅 Book hotel rooms
- 💰 Automatically calculate booking cost
- 💳 Simulate payment
- 🧾 View booking details
- 🔢 Generate unique booking IDs
- ❌ Cancel reservations
- 🔄 Update room availability
- 📋 View all reservations
- 💾 Save booking information using File I/O
- 🔁 Load saved bookings when the application starts
- Java
- Object-Oriented Programming (OOP)
- ArrayList
- Scanner
- File I/O
- Exception Handling
- Loops
- Conditional Statements
| Category | Price per Night |
|---|---|
| Standard | INR 2000 |
| Deluxe | INR 3500 |
| Suite | INR 5000 |
CodeAlpha_HotelReservationSystem
│
├── Booking.java
├── FileManager.java
├── Hotel.java
├── HotelReservationSystem.java
├── Payment.java
├── Room.java
├── README.md
└── .gitignore