MCQOPTIONS
Saved Bookmarks
| 1. |
What is a constructor? |
| A. | a class automatically called whenever a new object of this class is created. |
| B. | a class automatically called whenever a new object of this class is destroyed. |
| C. | a function automatically called whenever a new object of this class is created. |
| D. | a function automatically called whenever a new object of this class is destroyed. |
| Answer» D. a function automatically called whenever a new object of this class is destroyed. | |