Skip to content

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.

Notifications You must be signed in to change notification settings

Katkargaurav09/Uber-Management-System

Repository files navigation

🚗 Uber Management System (Java Console App)

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.

🚀 Features

  • Select cab type (SUV / Sedan / Mini)
  • Calculate total fare based on distance
  • Console-based user interface
  • Uses OOP: Inheritance, Polymorphism, Upcasting

🧱 Technologies Used

  • Java (JDK 8+)
  • Scanner for input/output

📸 Sample 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

🛠️ How to Run

  1. Clone the repo
    git clone https://github.com/yourusername/UberManagementSystem.git

javac *.java java UberDriver

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages