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
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 is polymorphism and types?
What does and I oop mean?
What is the point of oop?
What are the 4 pillars of oop?
What is debug class?what is trace class? What differences are between them? With examples.
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
What is encapsulation selenium?
What is a superclass in oop?
What are the three parts of a simple empty class?
Is abstract thinking intelligence?
What are the 5 oop principles?
write a C++ program for booking using constructor and destructor.
What is variable example?
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.