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
Reusability  Reusability means reusing code written earlier, may be from some earlier project or from the library. Reusing old code not only saves development time, but also sa

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

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

1. The management of a company would like to determine the median annual salary of its employees.Write a pascal program that display the number of employees and their median salary

A: Provide a friend operator class Base { public: friend std::ostream& operator ... protected: virtual void printOn(std::ostream& o) const; }; inline std::ostr

I need Profile and optimize a C++ library for speed Project Description: Optimize and profile an existing C++ library for speed. This library uses OpenMP and OpenCV and C+

Problem: (a) What is the main advantage to using a data file? (b) What is meant by opening a data file? How is this accomplished? Illustrate your answer clearly with a sui

(a) Write a fragment of code that declares a variable colSp of type ColourSpot, and then moves it to the point (3, -4), and sets its colour to Green. (b) A function QU8 is speci

B a s i c D a t a t y p e : T h e r e a r e t h r e e t y p e o f d a t a t y p e i n C+ + 1.       P r

Many modern cryptography algorithms require two numbers that are coprime, or sometimes referred to as relatively prime. Two numbers are coprime if their greatest common divisor is