Answer Posted / muniba
hirerical means that is a tree like
for e.g
class A
{
//some data and methods
};
class B:class A
{
//some data and methods
};
class C:class B
{
//some data and methods
};
and hirerical inheritance is that inheritance which is a
tree like
grandfather
^
|
father
^
|
son
;)
| Is This Answer Correct ? | 38 Yes | 83 No |
Post New Answer View All Answers
What is encapsulation oop?
What is object and example?
Give two or more real cenario of virtual function and vertual object
what are the different types of qualifier in java?
What is polymorphism explain?
How do you explain polymorphism?
How can you overcome the diamond problem in inheritance?
What is purpose of inheritance?
Why is there no multiple inheritance?
Can enum be null?
What is coupling in oops?
What is abstraction in oops?
What is constructor in oop?
What is constructor overloading in oop?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?