Which operator among the following signifies the destructor operator?
a) ::
b) :
c) ~
d) &
1 thought on “Which operator among the following signifies the destructor operator?”
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.
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.