Most common operation used in constructors is
A. | addition |
B. | overloading |
C. | assignment |
D. | polymorphism |
Option: C Explanation : Click on Discuss to view users comments. |
Reference variables and const class member
A. | must be asigned values in any derived class |
B. | must never be initialized in a base class |
C. |
must be initialized, rather than assigned values
|
D. | must not exit if a class is to be a base class. |
Option: C Explanation : Click on Discuss to view users comments. |
A. | True |
B. | False |
C. | |
D. | |
Option: A Explanation : Click on Discuss to view users comments. |
Adding a derived class to a base class requires fundamental changes to the base class.
A. | True |
B. | False |
C. | |
D. | |
Option: B Explanation : Click on Discuss to view users comments. |
A major advantage of inheritance is
A. | reducing the time it takes to create new objects |
B. |
not having to think about how objects will be used
|
C. |
reducing the amount of memory required to execute a program
|
D. |
enabling people who have not studied programming to create useful applications.
|
Option: A Explanation : Click on Discuss to view users comments. |