हिंदी

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

Advertisements
Advertisements

प्रश्न

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

विकल्प

  • __object__( )

  • __del__( )

  • __func__( )

  • __init__( )

MCQ
Advertisements

उत्तर

__init__( )

shaalaa.com
Creating Objects
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 10: Python Classes and objects - Evaluation [पृष्ठ १८६]
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×