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
What is the importance of oop?
What is the use of oops?
Can private class be inherited?
What language is oop?
What is difference between polymorphism and inheritance?
What is oops and its features?
Can a varargs method be overloaded?
What are the two different types of polymorphism?
What is encapsulation process?
What is difference between oop and pop?
Why do while loop is used?
What is polymorphism and example?
Why polymorphism is used in oops?
What is meant by multiple inheritance?
What is inheritance write a program to show use of inheritance?