Answer the following questions true (T) or false (F)
1. If B is a base class of D, then D’s members cannot access the private data members of B without regard to the kind of inheritance.
2. If B is a base class of D, then D’s members cannot invoke private member functions of B without regard to the kind of inheritance.
1. True
Explanation: With any kind of derivation, public, protected or private, private function and data members of the base class are inaccessible to any function not declare in the base class.
2. True
Explanation: With any kind of derivation, public, protected or private, private function and data members, of the base class are inaccessible to any function not declare in the base class.
You might also like to view...
An ________ operator can work with programmer-defined data types.
A) inline B) unconditional C) overloaded D) undefined E) None of the above
Define spread-spectrum radio waves.
What will be an ideal response?
A cookie can store information about a Web site's visitors.
a. true b. false
It is possible to transfer a reserved instance from one Availability Zone to another.
A. True B. False