English
Tamil Nadu Board of Secondary EducationHSC Science Class 12

Which of the following method is used as a destructor? - Computer Science

Advertisements
Advertisements

Question

Which of the following method is used as a destructor?

Options

  • __init__( )

  • __dest__( )

  • __rem__( )

  • __del__( )

MCQ

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]

APPEARS IN

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

Englishहिंदीमराठी


      Forgot password?
Use app×