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
Define Advantages of Multi File Program? The main merits of spreading a program across several files are: • Teams of programmers able to work on programs. Every programmer w

write a program to find the area under curve y=f(x) between x=a and x=b,integrate y=f(x) between the limits a and b

How do you declare an integer variable? Explain with an example.


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

B-tree: A B-tree is an also called balanced m-way tree. A node of the tree may have many records or key and pointers to children. It is also called as the balanced sort tree. It s

#quGiven the Array class definition in Fig. 11.10-11.11 (pp. 476-479) of the textbook, write a new overloaded operator function for the ‘%’ (modulus) operator (i.e., return an arra

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. The area under a curve between two points can b

In general, Roman numerals can be converted mathematically by simply assigning a numerical value to each letter, according to the chart below, and calculating a total: M=1000 | D=5

Question 1 Describe the theory behind class templates and function templates along with relevant programming examples Question 2 With the help of suitable programming example