- Class Vehicle implements two methods VName and VMake, its subclass Car derives class vehicle’s methods and implements its own method CarColor. Which concept is this scenario depicting? Justify your answer.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
sahana radderPosted Dec 1, 2016, 4:38 AM
Adding to Tapan's Answer - Class Vehicle can be abstract class which has "VName and VMake" methods. The Car class inherits from Abstract Class Vehicle and it has its own methods (CarColor). So the Abstraction concept also includes here.
Tapan PatelPosted Oct 13, 2016, 1:28 PM
Also, these two fundamental principles belong to OOP's concepts.
(can't go further than this .... :))