- Institution: Nationale Higher School of Advanced Technologies (ENSTA)
- Program: CP-MI-2
- Module: Object-Oriented Programming (OOP)
- Student: FERKIOUI Akram
- Group: A1
- Teacher: Mr BADJARA Mohamed el Amine
A Java application that manages vehicles transported on ships at the Port of Algiers.
This application allows port managers to:
- Create trips with destination information
- Add cars with their maximum speed
- Add trucks with trailer information
- Generate detailed reports of vehicles on each trip
- Object-oriented design with inheritance
- Console-based user interface
- Detailed text report generation
- Support for multiple vehicle types
To compile and run the application:
javac PortManagementSystem.java
java PortManagementSystemVehicle.java- Abstract base class for all vehiclesCar.java- Class for cars with maximum speedTruck.java- Class for trucks with trailer informationTrip.java- Class to manage trips and collections of vehiclesReportGenerator.java- Handles creation of detailed reportsPortManagementSystem.java- Main application with user interface
The application will generate detailed reports in text format that include:
- Trip details (ID, date, destination)
- Vehicle inventory statistics
- Detailed listing of all vehicles on the trip