The method called by clients of a class to explicitly release any resources like network, connection, open files etc. When the object is

Lượng Tiger

New member
The method called by clients of a class to explicitly release any resources like network, connection, open files etc. When the object is no longer required?
A. Finalize()
B. End()
C. Dispose()
D. Close()
 
Answer: c
Explanation: Dispose() is only method called by clients of a class to explicitly release any resource like network connection, open files etc. When object is no longer required. Hence, Dispose() provides programmer with such programming control.
 

Tìm kiếm

Back
Top