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 object in oop with example?
Can a varargs method be overloaded?
Please send ford technologies placement paper 2 my mail id
What is oops and why we use oops?
What is difference between pop and oop?
What is encapsulation with real life example?
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?
Why is polymorphism needed?
What are oops functions?
What is inheritance and how many types of inheritance?
What is the real time example of encapsulation?
Explain the concepts involved in Object Oriented programming.
I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...
Is oop better than procedural?
What is polymorphism in oops?