MCQOPTIONS
Saved Bookmarks
| 1. |
Which of the following is true? |
| A. | A “static” member of a class cannot be inherited by its derived class. |
| B. | A “static” member of a class can be initialized only within the class it is a member of. |
| C. | A “static” member of a class can be initialized before an object of that class is created. |
| D. | Since “static” member of a class is actually a global element, it does not require a class/object qualifier to access it independently of class/object. |
| Answer» D. Since “static” member of a class is actually a global element, it does not require a class/object qualifier to access it independently of class/object. | |