Answer Posted / anshu sharma
Hierarchy is used to define more specialized classes based
on a preexisting generalized
class.Example we have VEHICLE class and we can inherit this
class make more specialized
class like CAR, which will add new attributes and use some
existing qualities of the
parent class.Its shows more of a parent-child relationship
.This kind of hierarchy is called
inheritance
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What are the benefits of polymorphism?
Why multiple inheritance is not possible?
What is the difference between encapsulation and polymorphism?
What is pointer in oop?
What is overriding vs overloading?
What do you mean by variable?
What is coupling in oops?
Can you explain polymorphism?
What is the point of polymorphism?
How Do you Code Composition and Aggregation in C++ ?
What are the 4 main oop principles?
What is the example of polymorphism?
given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy
What is meant by multiple inheritance?
What is oops concept with example?