C++/C++

Advertisement


Question
What are the different types of inheritance in C++?

Answer
There are two dimensions to the question:
1 accessibility of parent class members and functions: public, protected or private inheritance (see http://www.parashift.com/c++-faq-lite/basics-of-inheritance.html and http://www.parashift.com/c++-faq-lite/index.html)
2 simple, multiple and virtual inheritance (see http://www.parashift.com/c++-faq-lite/multiple-inheritance.html)

Get back to me if you have specific questions.  

C++

All Answers


Answers by Expert:


Ask Experts

Volunteer


Amit Kumar

Expertise

I can answer Cplusplus language and library questions, including STL, ACE, Boost. I have a good background in Mathematics.

Experience

Programming in CPP for about 8 years. Industry experience of 4 years.

Education/Credentials
Bachelors and Masters in Computer Science from Indian Institute of Technology Delhi.

©2016 About.com. All rights reserved.