https://github.com/gattiharishkumar/console-based-reservation-system
https://github.com/gattiharishkumar/console-based-reservation-system
console-application java oops-in-java
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/gattiharishkumar/console-based-reservation-system
- Owner: GattiHarishKumar
- Created: 2024-09-06T20:34:02.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-06T20:36:23.000Z (almost 2 years ago)
- Last Synced: 2024-12-29T15:45:19.187Z (over 1 year ago)
- Topics: console-application, java, oops-in-java
- Language: Java
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Online Reservation System in Java
## Introduction
Welcome to the **Online Reservation System** built using Java. This console-based application allows users to make, view, and cancel reservations. It streamlines the reservation process, making it convenient for users to manage bookings. Businesses can benefit from this system by improving efficiency, reducing workload, and providing a better customer experience. This project demonstrates how to implement a simple yet effective reservation system using core Java concepts and OOP principles.
## Features
- **Make a Reservation**: Users can input details like name, date, and number of guests to create a reservation. The system assigns a unique ID to each booking.
- **View Reservations**: The system displays a list of all current reservations, including the reservation ID, name, date, and number of guests.
- **Cancel Reservation**: Users can cancel a reservation by entering the corresponding reservation ID.
- **Exit**: Users can exit the application at any time.
## Components
The project consists of three main classes:
1. **Reservation Class**: Manages individual reservations with properties such as name, date, and number of guests.
2. **Reservation System Class**: Handles operations like adding, viewing, and canceling reservations using an ArrayList.
3. **Reservation System UI**: A simple console-based interface that interacts with users, enabling them to perform actions like making, viewing, and canceling reservations.
## Technologies Used
- Java
- OOP Concepts
- ArrayList for storing reservations
- Scanner for user input
## How to Run
1. Clone the repository.
2. Compile the program using `javac ReservationSystemUI.java`.
3. Run the program using `java ReservationSystemUI`.
## Usage
1. Follow the prompts in the console to make, view, or cancel a reservation.
2. Each reservation is assigned a unique ID for management.
3. Exit the application by selecting the corresponding option.