This is a console-based Bus Booking System developed in Java. The project allows users to view buses, book tickets, update booking details, and cancel bookings. The data is stored in a MySQL database using JDBC connectivity.
- View available buses
- Book a bus ticket
- Update booking information
- Cancel a booking
- Display all bookings
- Input validation for user details
- Java
- JDBC
- MySQL
- Eclipse IDE
The main purpose of this project is to understand Java concepts such as JDBC, exception handling, collections, and database connectivity. It simulates a basic bus reservation system through a console interface.
- Clone the repository.
- Open the project in Eclipse.
- Create the required MySQL database and tables.
- Update the database username and password in the connection file.
- Run the
BusBookingTesterclass.
Samarth Girase