![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 25.05.2021 14:00 niyah2224
Write a class named as vehicle which has some attributes this class has three functions. i.e.
fuelAmount ()
loadingCapacity()
applyBrakes()
enginePower()
Write a class named as Bus, Car and Truck which are inherited from class Vehicle. Also write the setter/getter, default and parameterized constructor in each class. Write a main which create object of derived class and call all inherited function of base class.
Note: Each class should have at least two attribute of base class
![ansver](/tpl/images/cats/User.png)
Answers: 1
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Other questions on the subject: Computers and Technology
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 23:00, brookerebman15
Which type of tab stop is most for weights and measurements?
Answers: 1
![image](/tpl/images/cats/informatica.png)
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 09:30, blake2001
Which of the following tasks is an audio technician most likely to perform while working on a nature documentary? (select all that apply). eliminating potentially distracting background noise adding sound effects making sure the lighting is adequate for a particular scene changing the narration to better match the mood of the documentary
Answers: 3
You know the right answer?
Write a class named as vehicle which has some attributes this class has three functions. i.e.
fuelA...
Questions in other subjects:
![Konu](/tpl/images/cats/health.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 13.07.2020 20:01
![Konu](/tpl/images/cats/mat.png)
Mathematics, 13.07.2020 20:01
![Konu](/tpl/images/cats/mat.png)
Mathematics, 13.07.2020 20:01
![Konu](/tpl/images/cats/health.png)
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/en.png)
English, 13.07.2020 20:01
![Konu](/tpl/images/cats/informatica.png)
Computers and Technology, 13.07.2020 20:01