Oops online test, online practice test, exam, quiz
Online Practice Test
1. Which of the following is false for a destructor?
The destructor has the same name as the class
If the object was created with a new expression, then its destructor is called when the delete operator is applied to a pointer to the object
Its main purpose is to clean up and to free the resources
None of the above
View Answer and Discussion