Computer Science - Object Oriented Programming Using C++ - Discussion

5. 

Which of the following are never inherited?

[A]. public data members
[B]. constructor functions
[C]. void functions
[D]. overloaded + operators

Answer: Option B

Explanation:

No answer description available for this question.

Sowmiya said: (Mar 2, 2014)  
Constructors can be inherited by its child class.

Riddhi said: (Aug 25, 2020)  
Yes, constructors are inherited by child class.

Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.