Q.

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» C. a function automatically called whenever a new object of this class is created.
949
0
Do you find this helpful?
7

Discussion

No comments yet