give me the defination of inheritance?
Answers were Sorted based on User's Feedback
inheritance means object of one class acquire the properties of objects of another class.
inheritance primarily for the purpose of code reuse.
| Is This Answer Correct ? | 10 Yes | 0 No |
Answer / munis
one class property derived another class by using extends keyword
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / nidhi
inheritance is a aquer the base class property aquer the derived class property
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / vishal
Inheritance allows a class to inherit attributes and
behaviors (methods) of another class.This allows creation
of brand new classes by abstracting out common attributes
and behavior.
The idea of inheritance is to go from general to specific
by factoring out commonality.
1.Code Reuse
2.Better overall design by organizing classes
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / yuvi
An inheritance is money or property which you receive from
someone who has died.
like: she feared losing her inheritance to her stepmother.
or your inheritance is the particular characteristics or
qualities which your family or ancestors had and which you
are born with
like: Eye colour shows you genetic inheritance.
| Is This Answer Correct ? | 1 Yes | 2 No |
how can u do connectivity in c++ language? plz send me connectivity code in c++ ?
write a program to demonstrate,how constructor and deconstructor work under multilevel inheritance
How can you create a bulleted list, numbered list and an outline by using bullets and numbering command. Explain with the help of example.
How is stl different from c++ standard library?
Describe how to safeguard a system through acquisition of an antivirus Program and systematic backup.
What do stl stand for?
What is stl language?
write a program that input four digit no and finds it is palindrome or not
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 to get the sum of two integers?
Assume I have a linked list contains all of the alphabets from "A" to "Z?" I want to find the letter "Q" in the list, how does you perform the search to find the "Q?"
write a c++ program to create an object of a class called employee containing the employee code name designation basic salarry HRA Da gross salary as data 10 such objects "members process "