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
when to use 'mutable' keyword and when to use 'const cast' in c++
What is class encapsulation?
what's the basic's in dot net
What is a function in oop?
what is graphics
write string class as your own class in java without using any built-in function
Explain the advantages of inheritance.
what are the ways in which a constructors can be called?
Why do we need polymorphism in c#?
2. Give the different notations for the class.\
What are the benefits of interface?
What is advantage of inheritance?
Write a program to sort the number with different sorts in one program ??
can inline function declare in private part of class?
Why do we use inheritance?