Advertisements
Advertisements
Question
State whether the following statements about the constructor are True or False.
i) constructors should be declared in the private section.
ii) constructors are invoked automatically when the objects are created.
Options
True, True
True, False
False, True
False, False
MCQ
Solution
False, True
shaalaa.com
Is there an error in this question or solution?