Define inheritance?, C/C++ Programming

Define inheritance?

 

Posted Date: 3/16/2013 2:45:12 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:45: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
Control structures The control structures appear in both structured programming languages as well as object oriented programming languages.  The three constructs used are: i)

A: In C++, the definition of NULL is 0, thus there is only an aesthetic difference. I prefer to ignore macros, so I employ 0. Another difficulty with NULL is that people sometimes

">http://www.ee.nmt.edu/~erives/289_F12/EE289_Takehome_2.pdf http://www.ee.nmt.edu/~erives/289_F12/Takehome2_maze.GIF

Write a C program to compute the factorial of  5 i.e. 1x2x3x4x5 etc Write a C program to calculate the output Y for a given value of X for the following formula.       Y=X 2

algorithm to prepare mark sheet of a student by inputing name,branchcode,semester,register no,5 marks of students and total mark of student

find the occurence of zy in the final string

In this lab, please complete a given program to perform the following tasks: 1. Allocate a 10 by 5 2D byte array dynamically. The way of allocation must be consistent with pag


Question : (a) How does a structure differ from an array? (b) Describe how a structure differs from a union? (c) Declare a union called ‘clothes' which consists of the