M

Mr. Dubey • 52.30K Points
Coach

Q. What is the purpose of Destructor methods?

(A) destructor methods creates instances of the class
(B) destructor methods releases memory and resources allocated to objects when they were created
(C) destructor methods converts type of objects.
(D) destructor methods copies contents of one object to another.
Correct : Option (B)

Share

Discusssion

Login to discuss.