Define inheritance?, C/C++ Programming

Define inheritance?

Posted Date: 3/16/2013 2:46:08 AM | Location : United States





A: Inheritance let one class to reuse the state & behavior of another class. The derived class inherits method and properties implementations of the base class & extends it through overriding methods and adding additional methods and properties.

 

 

Posted by | Posted Date: 3/16/2013 2:46:28 AM


Related Discussions:- Define inheritance?, Assignment Help, Ask Question on Define inheritance?, Get Answer, Expert's Help, Define inheritance? Discussions

Write discussion on Define inheritance?
Your posts are moderated
Related Questions
Write a ''C'' program to accept any 3 digit integer number from the keyboard and display the word equivalent representation of the given number


Bit-wise Operators Some applications require operations to be done on dissimilar bits of a byte separately. Bit-wise operators offer a facility to do just that. There are vario

What are control structures? - Control structures decide which instructions in program must be executed. - This implies that program flow may not necessarily move from one s

Program to store family members details in C++: #include #include #include struct record {   char name[30];   int age;   char state[40]; }x; //cal

C program to count the words: void CountWords();          void main()          {             printf("\n\tcount the words and enter string\n\n\n");             Count

Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b.     #include float start

Rules for overloading an operator This summarizes the most significant points you need to know in order to do operator function overloading. The only operators you may o

F u nction overloading: Functions can be defined with same name.  Depending upon the type of argument passed the function will perform.  This is known function overloading

write aprogram for random -search to implement if a[i]=x;then terminate other wise continue the search by picking new randon inex into a