Question 20
Back to Exercise
Which of the following is not inherited automatically by a derived class?
- A Public member functions
- B Protected data members
- C Constructors and friendship Correct
- D Static members
Correct Answer: Option C
Constructors are inherited only with using Base::Base; friendship is never inherited.
Discussion & Comments 0
Share your method, a shortcut, or ask about a step you didn't follow.
No comments yet. Be the first to share your solution!