Constructors and Destructors - Programming

Q1:

A function with the same name as the class, but preceded with a tilde character (~) is called __________ of that class.

A constructor

B destructor

C function

D object

ANS:B - destructor

No answer description is available. Let's discuss.