In C++, inheritance is a technique in which a C++ class known as the derived class absorbs, utilizes and enhances the data and behavior of another class known the base class . C++ inheritance enhances object-oriented programming in a way that it saves program development time, and supports reuse of debugged high quality software. In c++ inheritance allows an object oriented programmer to focus on the larger picture rather than specific cases. Because different classes sometimes require similar data members, inheritance enables avoidance of duplication of codes in the same project environment. The base class captures the most common members and then supplies them to the derived classes with the help of inheritance technique. Details
Pages
- Home
- Introduction to Pointers in C++
- Introduction to C++ Arrays
- C++ Inline Functions,Constructors, Distructors and Unions
- C++ Classes incliding Structures-Classes-Unions
- C++ Operator Oveloading
- C++ class inheritance
- Introduction to C++ Control Statements and transfer of control
- Default Arguments and Function Overloading
- Introduction to Passing by Value, and by Reference
- Introduction to Empty Parameter list and Inline Functions
- An example that Uses static_cast promotion technique to avoid truncating
- Example of Program using passing by value and use of arguments in a function
- Example of functions using void and passing by values
- Introduction to Scope Rules of names or identifiers
- Introduction to operators and functions
- Introduction to Function Templates and Recursion
- Introduction to Other Selection Control Statements
- Introduction to Repetition Control Statements
- Gourds on sales
Thursday, September 15, 2011
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment