Which of the following statements is TRUE?
- A class can have only one constructor
- A constructor must be declared for each class
- A default constructor can only be supplied by the compiler
- A constructor is automatically called each time an object is created
Answer:
Option d: A constructor is automatically called each time an object is created
Explanation Here
0 Comments