English

Which of the following method is used as a destructor?

Advertisements

Question

Which of the following method is used as a destructor?

Options

  • __init__( )

  • __dest__( )

  • __rem__( )

  • __del__( )

MCQ
Advertisements

Solution

__del__( )

shaalaa.com
Constructor and Destructor in Python
  Is there an error in this question or solution?
Chapter 10: Python Classes and objects - Evaluation [Page 186]
Advertisements
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×