Answer Posted / jasbir singh
when a single class is being inherited by a class, it is
called single or simple inheritance.
example:
class a
{
public:
int x,y;
};
class b: public a //// example of simple inhieritence
{
public:
int z;
}
| Is This Answer Correct ? | 91 Yes | 19 No |
Post New Answer View All Answers
How to use CMutex, CSemaphore in VC++ MFC
What is property in oops?
Advantage and disadvantage of routing in telecom sector
What is encapsulation selenium?
What is constructor overloading in oop?
What is polymorphism oop?
What are objects in oop?
Why is polymorphism important in oop?
What is difference between polymorphism and inheritance?
What does and I oop and sksksk mean?
What is an example of genetic polymorphism?
What is variable example?
What does it mean when someone says I oop?
Explain the concepts involved in Object Oriented programming.
State what is encapsulation and friend function?