Question:Consider the following class hierarchy:
class Base
{
}

class Derived : private Base
{
}
Which of the following are true? 

A The relation between Base and Derived can be described as: Base is a Derived 

B The relation between Base and Derived can be described as: Base has a Derived 

C Derived can access private member functions of Base 

D Derived can access public and protected member functions of Base 

+ Answer
+ Report
Total Preview: 896

Copyright © 2024. Powered by Intellect Software Ltd