TASK 04 · CODEALPHA JAVA INTERNSHIP Hospitality Management Multi-tier Room Categories

Hotel Reservation System.

An enterprise hospitality management application. Features real-time room availability tracking, multi-category inventory, secure transaction processing, and automated reservation receipts.

20 Rooms
Total Room Inventory
3 Tiers
Standard · Deluxe · Suite
4 Gateways
Card · UPI · Net Banking
Instant
Audit & Receipt Generator

Interactive Hotel Booking Engine

Browse room availability, configure guest details, simulate secure payments, and manage reservations.

Hotel.java · Grand Alpha Resort LIVE BOOKING
Loading Inventory...

Active Guest Reservations

0 Active Bookings
Booking ID Guest Name Room # Category Nights Paid Amount Payment Method Action

Official Video Walkthrough

Watch the Java console reservation workflow handling room searches, checkout calculations, and cancellations.

TASK 4.mp4

▶ Task 4 Demonstration — Hotel Reservation System In Action

Full HD Recording

System Architecture & Java OOP Design

Comprehensive domain model mapping rooms, guests, payments, and reservation lifecycles.

Hotel.java

Inventory manager for rooms (101–303). Supports filtered queries, booking reservations, and cancellation rollbacks.

Room.java

Contains room number, Category enum (Standard, Deluxe, Suite), price per night, and availability state.

Reservation.java

Binds a guest, room, stay duration, total calculated cost, and assigned confirmation UUID.

PaymentProcessor.java

Simulates payment authorization across Credit Card, Debit Card, UPI, and Net Banking channels.

Java 25 LTS
public class Hotel {
    private String name;
    private List<Room> rooms;
    private List<Reservation> reservations;

    public Hotel(String name) {
        this.name = name;
        this.rooms = new ArrayList<>();
        this.reservations = new ArrayList<>();
        initializeRooms();
    }
}

How to Run Locally in Terminal

Run the console application in your command prompt with the Java compiler.

Navigate into the task directory and compile with javac:

cd Task4_HotelReservationSystem
javac *.java
java Main
← Previous: AlphaBot AI Chatbot Return to Portfolio Overview →