This project is a software design task aimed at creating a travel package management system. The system allows users to manage travel packages, including defining packages, adding destinations, activities, and enrolling passengers.
- Travel Package Creation: Users can create travel packages with specific names and passenger capacities.
- Destination Management: Each travel package can have multiple destinations, each with its own set of activities.
- Activity Booking: Passengers can sign up for activities at different destinations within a travel package.
- Passenger Management: Users can keep track of passengers enrolled in each travel package.
- Activity Availability: The system can display available activities for each destination.
TravelPackage.java
: Contains theTravelPackage
class representing a travel package.Destination.java
: Contains theDestination
class representing a destination with activities.Activity.java
: Contains theActivity
class representing an activity.Passenger.java
: Contains thePassenger
class representing a passenger.Itinerary.java
: Contains theItinerary
class to print travel package itinerary details.PassengerList.java
: Contains thePassengerList
class to print passenger details.AvailableActivities.java
: Contains theAvailableActivities
class to print available activities.TravelPackageTest.java
: Contains test cases for theTravelPackage
class.
- Clone the repository:
git clone https://github.com/rohits05/travel-package-management.git
- Compile the Java files:
javac *.java
- Run the main program:
java Main
If you find this project helpful or interesting, please consider starring the repository! 🌟