This is a simple Java console-based Uber Management System. Users can select cab types (SUV, Sedan, Mini), enter the distance, and the system calculates the fare.
- Select cab type (SUV / Sedan / Mini)
- Calculate total fare based on distance
- Console-based user interface
- Uses OOP: Inheritance, Polymorphism, Upcasting
- Java (JDK 8+)
- Scanner for input/output
----------Welcome To Uber----------
PRESS 1 FOR : SUV PRESS 2 FOR : SEDAN PRESS 3 FOR : MINI
ENTER YOUR CHOICE : 2 ENTER DISTANCE : 10
Cab Type: Sedan, Price per km: 50 PRICE : 50 per km. DISTANCE : 10 km TOTAL FARE : Rs500
- Clone the repo
git clone https://github.com/yourusername/UberManagementSystem.git
javac *.java java UberDriver