1.

Name a method which has the same name as that of class and which is used to destroy objects also called automatically when application is finally on process of being getting terminated.(a) Constructor(b) Finalize()(c) Destructor(d) EndThe question was posed to me by my college director while I was bunking the class.The query is from Destructors in Class topic in section Classes of C#

Answer» RIGHT CHOICE is (C) DESTRUCTOR

Explanation: DEFINITION of the destructor.


Discussion

No Comment Found

Related InterviewSolutions