Question: Data members are commonly declared as private, called ______, which is good software engineering. Public member functions provide the _______ with the outside world through

Data members are commonly declared as private, called ______, which is good software engineering. Public member functions provide the _______ with the outside world through their parameter lists and the returned data. Dynamically created object (using the new operator) can only be destroy by using the ______ operator. A derived class represents a ___ with respect to its base class i. more generalized object ii. more specialized object iii. less generalized object iv. less specialized object Which two of the following statements about inheritance are true? i. An object of the base class is also an object of its derived class. ii. An object of the base class is not an object of it derived class. iii. An object of the derived class is also an object of its base class. iv. An object of the derived class is not an object of its base class. Which one of the following statements about inheritance is false? i. When a nonmember function is passed an object of a derived class, the nonmember function cannot access any of the base class's members if the inheritance is either protected or private. ii. A private member function of a class cannot access the public members of the class. iii. When a nonmember function is passed an object of a derived class, the nonmember function can access any of the base class's members via an object of the derived class, if the inheritance is public. iv. A protected member function of a class can access all members of the class. Which one of the following statements about inheritance is false
Step by Step Solution
There are 3 Steps involved in it
Here are the answers based on the questions provided Fill in the Blanks Data members are commonly ... View full answer
Get step-by-step solutions from verified subject matter experts
