Waht is inheritance
Answers were Sorted based on User's Feedback
Answer / shilpa
inheritance is the extention of one class into another class
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / priya
inheritance is process by which one acquire the properties
of another class.
In this concept there are base class and derived class
base class is also called super class ,parent class &
derived class is also called subclass,child class.
there are 5 types of inheritance
1.single inheritance
2.multiple inheritance
3.multilevel inheritance
4.hierarchical inheritance
5.hybrid inheritance
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / dilip
Deriving a new class from existing base class is known to be
inheritance.The new derived class will have the functions of
the base class.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / bharghavi
the ability to acquire base class properties is called
inheritance
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / vithika
inheritance is a machenism for deriving a new from its old.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is stl stack?
How do you convert stl to steps?
help me i need a c++ program which takes sequesnce of characters and outputed sequence of their token taypes, work same compiler in lexical analysis phase
write a program that input four digit number and find how many 7 that number contains
write a program to demonstrate,how constructor and deconstructor work under multilevel inheritance
Do you like to Submit Questions in Bulk under Same Category?? Then use our Bulk ListerDo you like to Submit Questions in Bulk under Same Category?? Then use our Bulk Lister
what are you now programming Languages C+
When did c++ add stl?
why & sign is used in copy constructor
Is there any error below, its a code to delete all entires from a map #include <map> #include iostream.h int main() { int i =0; map <int, char> TestMap; while(i<3) { TesMap.insert(TestMap::value_type(i,Test)); i++; } typedef map<int, char> :: iterator mapIter =TestMap.begin(); if(mapIter!=TestMap.end()) { TestMap.erase(mapItrer); ++mapIter; } return 0; }
How does an stl file work?
why does the execution of a c++ program start with main()???