English
Tamil Nadu Board of Secondary EducationHSC Science Class 12

Which of the following method is automatically executed when an object is created?

Advertisements
Advertisements

Question

Which of the following method is automatically executed when an object is created?

Options

  • __object__( )

  • __del__( )

  • __func__( )

  • __init__( )

MCQ
Advertisements

Solution

__init__( )

shaalaa.com
Creating Objects
  Is there an error in this question or solution?
Chapter 10: Python Classes and objects - Evaluation [Page 186]

APPEARS IN

Samacheer Kalvi Computer Science [English] Class 12 TN Board
Chapter 10 Python Classes and objects
Evaluation | Q 4. | Page 186
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×