Question OOP-CTOR-0030
EasyIn Python, which method is called when an object is about to be destroyed?
- A.
del
- B.
init
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Constructors and Destructors question
In Python, which method is called when an object is about to be destroyed?
del
init
Sign up free to see the answer and a step-by-step explanation.
end
exit