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 is object and example?
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?
What are oops functions?
What is constructor overloading in oop?
What is destructor give example?
Describe these concepts: Polymorphism, Inheritance and Abstraction.
Explain the concepts involved in Object Oriented programming.
What is polymorphism and why is it important?
What is class and example?
What is inheritance and how many types of inheritance?
What is the fundamental idea of oop?
What is basic concept of oop?
What is encapsulation with real life example?
how to get the oracle certification? send me the answer