Menu

Lilja Tului Umivuisily Problem Description Implement Java Application Implements Man Drivi Q43781133

LILJA TULUI UMIVUISILY Problem Description: Implement a Java Application that implements a MAN driving a CAR. To solve this pDesign: Draw the UML class diagram here e Coding: Copy and Paste Source Code here. Format your code using Courier 10pts poseLILJA 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 Show transcribed image text 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

Expert Answer


Answer to LILJA TULUI UMIVUISILY Problem Description: Implement a Java Application that implements a MAN driving a CAR. To solve t…

OR