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
Explain the Working of strcpy Function? strcpy() : This function is meant to use to copy one string to another. The strcpy function as well accepts two strings as arguments.

How would I use variables of a C++ object within a Lua function, and then call the Lua function from C++ code?

How to Create A Data File? A data file should be created before it can be processed. A stream-oriented data file is able to be created in two ways. One is to create the file st


Define some features of register storage class in c program? The feature of variable defined to be of register type all as follows: Storage - CPU registers Default initia

#I have assignment c with unix thread multiplication program ..

At a shop of marbles, packs of marbles are prepared. Packets are named A, B, C, D, E …….. All packets are kept in a VERTICAL SHELF in random order. Any numbers of packets with thes

Question 1 Explain the concept of constructors and destructors in C++ with programming examples Question 2 Explain the concepts and applications of multiple inheritance and v

Stage One Define the specification of the program            Add two nxm size matrices   Stage Two Divide the program up into separate modules           Input Matrix         Ad

The Malt Shop restaurant charges $2.99 for burgers, $1.29 for fries, and $1.25 for sodas.  Write a program that allows a restaurant employee to enter an order (the number of bur