Which function is used to perform some action when the object is to be destroyed?
A. finalize()
B. delete()
C. main()
D. None of the mentioned
Answer:A
Which function is used to perform some action when the object is to be destroyed?
A. finalize() B. delete() C. main() D. None of the mentioned