मराठी

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

Advertisements

प्रश्न

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.

पर्याय

  • True, True

  • True, False

  • False, True

  • False, False

MCQ
Advertisements

उत्तर

False, True

shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 14: Classes and objects - Evaluation - Section – A [पृष्ठ २४६]

APPEARS IN

सामाचीर कलवी Computer Science [English] Class 11 TN Board
पाठ 14 Classes and objects
Evaluation - Section – A | Q 7. | पृष्ठ २४६
Advertisements
Share
Notifications



      Forgot password?
Use app×