Constructors and Destructors

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

A object

B constructor

C function

D destructor

ANS:B - destructor

No answer description is available. Let's discuss.



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.