03 Java
03 Java
Micro project
On
Submitted By
Guided By
Ms.V.M.Bodhankar
Sinhgad Institutes
Certificate
This is to certify that Mr. Avinash Lokhande with Roll No. 22 of Semester IV of
Diploma in Computer Technology of Institute Sou. Venutai Chavan Polytechnic (Code:
0040) has successfully completed the Micro-Project in Java Programming (22412) for
the academic year 2023-2024 as prescribed in the curriculum.
Certificate
This is to certify that Mr. Harshdeep Pawar with Roll No. 50 of Semester IV of
Diploma in Computer Technology of Institute Sou. Venutai Chavan Polytechnic
(Code: 0040) has successfully completed the Micro-Project in Java Programming
(22412) for the academic year 2023-2024 as prescribed in the curriculum.
SR NO CONTENTS PAGE NO
2 Rationale 3
6 Skills Developed 9
Annexure–I
Micro-Project Proposal
The aim of the Micro-project is to create Car Rental System using Java.
Annexure–II
Micro-Project Proposal
“Car Rental System”
1.0 Rationale:
This is a simple project where the system is used for handling car rental
transactions using JAVA code, in which user can enter his details like name,
address, mobile number. Then he/she gets choice for selecting car from available
one, and then enter for how many days he/she will rent car. After this process
he/she will get bill Receipt for Transaction.
// class Car
class Car
{
String carName;
double rentalCostPerDay;
// Available cars
Car[] availableCars =
{
new Car("Toyota Camry", 50.0),
new Car("Honda Civic", 40.0),
new Car("Ford Mustang", 70.0),
new Car("Scarpio N", 10.0)
};
// Selecting a car
System.out.println("Select a car (enter the number):");
int selectedCarIndex = scanner.nextInt() - 1;
Car selectedCar = availableCars[selectedCarIndex];
scanner.close();
}
}
Output:
Enter your name:
Tony
Enter your address:
NY
Enter your mobile number:
6384010134
Available Cars:
1. Toyota Camry
2. Honda Civic
3. Ford Mustang
4. Scarpio N
Select a car (enter the number):
3
Rental Details:
Name: Tony
Address: NY
Mobile Number: 6384010134
Car: Ford Mustang
Rental Duration: 7 days
Total Cost: $490.0
7.0. Conclusion:
Thus, we learnt to develop a JAVA Car Rental System.
8.0 References:
• Codecademy.
• Udemy.
• Coursera.
• Java Code Geeks