Question:Consider the following class hierarchy:
class Base { } class Derived : public Base { }Which of the following are true?
A The relationship between the Base and Derived can be described as: Base is a Derived
B The relationship between the Base and Derived can be described as: Base has a Derived
C Derived can access only public member functions of Base
D Derived can access public and protected member functions of Base
E The following line of code is valid: Base *object = new Derived();
+ AnswerE
+ Report