मराठी
तामिळनाडू बोर्ड ऑफ सेकेंडरी एज्युकेशनएचएससी विज्ञान इयत्ता ११

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 - Computer Science

Advertisements
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

उत्तर

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. | पृष्ठ २४६
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×