Skip to content

Repository files navigation

🏨 CodeAlpha Hotel Reservation System

📌 Description

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.


✨ Features

  • 🏨 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

🛠️ Technologies Used

  • Java
  • Object-Oriented Programming (OOP)
  • ArrayList
  • Scanner
  • File I/O
  • Exception Handling
  • Loops
  • Conditional Statements

🏨 Room Categories

Category Price per Night
Standard INR 2000
Deluxe INR 3500
Suite INR 5000

📂 Project Structure

CodeAlpha_HotelReservationSystem
│
├── Booking.java
├── FileManager.java
├── Hotel.java
├── HotelReservationSystem.java
├── Payment.java
├── Room.java
├── README.md
└── .gitignore

About

Developed a Java-based Hotel Reservation System as part of my CodeAlpha Internship. The project supports room search, booking, cancellation, payment simulation, availability management, and File I/O for persistent booking data. Built using OOP, ArrayList, exception handling, and Java fundamentals.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages