-
Inheritance
Which one of the following statements regarding C++ class inheritance is FALSE? a. Inheritance promotes generic design and code reuse.b. Struct cannot be inherited in C++. c. C++ supports multiple inheritance. d. Inheritance is a mechanism through which a subclass inherits the properties and behavior of its superclass.
-
Data Encapsulation
Which one of the statements concerning data encapsulation is FALSE? A. Data encapsulation lets the programmer create an object and then provide an interface that other objects can use to invoke the methods provided by that object. B. Programmers can change the internal working of an object, but this may be transparent as long as the interface remains unchanged. C. Data encapsulation works well for...