Question: LILJA TULUI UMIVUISILY Problem Description: Implement a Java Application that implements a MAN driving a CAR. To solve this project you have to: 1. Create

 LILJA TULUI UMIVUISILY Problem Description: Implement a Java Application that implements
a MAN driving a CAR. To solve this project you have to:

LILJA TULUI UMIVUISILY Problem Description: Implement a Java Application that implements a MAN driving a CAR. To solve this project you have to: 1. Create a CAR class with : a. Attributes : [MAKE THEM PRIVATE!!!!] i. engineOn : Boolean ii. fuelTank : float iii. speed : float i acceleration : float v. deceleration : float vi. Owner : string b. Methods: you have to provide the corresponding methods to change the attributes' value (MAKE THEM PUBLIC). Implement the corresponding constructor!!!! 2. Create a MAN class with: a. Attributes : i. name: string ii. Surname : string iii. address : string iii. myCar : CAR b. Methods: you have to provide the corresponding methods to change the attributes' value [MAKE THEM PUBLIC). implement the corresponding constructor!!!!! 3. Create a class GARAGE that is executing the following operations: a. Creates car object b. Creates man object that owns the car c. Let's man object driving the car....that means he can i. Switch the engine ON and OFF ii. He can refuel the car iii. He can make the car accelerating ini. He can make the car slowing down v. He can stop the car Design: Draw the UML class diagram here e Coding: Copy and Paste Source Code here. Format your code using Courier 10pts pose Source Code here. Format your code

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!