This flashcard is just one of a free flashcard set. See all flashcards!
6
Which of the following statements is not true about a constructor of an object?
a. There can be multiple constructors in a class
b. If there is no constructor defined in a class, the system will generate a default constructor.
c. There can be one and only one constructor in a class
d. All of the above statements are true.
a. There can be multiple constructors in a class
b. If there is no constructor defined in a class, the system will generate a default constructor.
c. There can be one and only one constructor in a class
d. All of the above statements are true.
c. There can be one and only one constructor in a class