What do you mean by inheritance, C/C++ Programming

Inheritance is the process of forming new classes, called derived classes, from existing classes or base classes. The derived class inherits all the capabilities of the base class, but can add embellishments and refinements of its own.          

 

 

Posted Date: 4/8/2013 5:42:39 AM | Location : United States







Related Discussions:- What do you mean by inheritance, Assignment Help, Ask Question on What do you mean by inheritance, Get Answer, Expert's Help, What do you mean by inheritance Discussions

Write discussion on What do you mean by inheritance
Your posts are moderated
Related Questions

Define the Recursion Function in C? In C, it is potential for the function to call themselves a function is describing 'recursive' if a statement within the body of a function

We are now quite happy to use the basic mathematical expressions, however in engineering we use scientific functions i.e Sin , Cos  , ln etc . Within C we have the following functi

program that decodes sending smuggler''s string

d) a "static destructor" is a static member function of the class which accepts one argument - a pointer to the object of that class to be cracked. It is probably utilized along wi

Write a fully modular C program that reads in a string of a defined size from the keyboard and reports how many times each letter of the alphabet occurs within that string (ignorin

Q-What is your reaction to following line of code?               delete this; A: This is not a good programming Practice. A good programmer will insist that you must absolute

main() { int a[5]={1,3,6,7,0}; int *b; b=&a[2]; } The value of b[-1] is

#include void func(int num, b=5) { auto int total=0; static int sum=0; for ( int i=num; i>0 ; i--) total+=i; sum+=total; cout

Question : (a) What is a structure? Provide a simple example of your own to illustrate this feature. (b) How does a structure differ from an array? (c) Describe a structu