Answer Posted / jyoti lohani
the parent class behaviour & properties are define in child
class that's call inheritance. if child class inherit more
then one parent class that call multiple inheritance.
EX: class X
{
/* ---*/
}
class y
{
/*----*/
}
class z:x,y
Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What is difference between inheritance and polymorphism?
Why do we use class in oops?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
c++ program to swap the objects of two different classes
What is the full form of oops?
to find out the minimum of two integer number of two different classes using friend function
What is destructor oops?
What are main features of oop?
What is the highest level of cohesion?
What is basic concept of oop?
Why is polymorphism needed?
What is encapsulation in oop?
Why do we use polymorphism?
What are the 4 main oop principles?
What is object in oop with example?