Constructors

Q1: How many times can a constructor be called during lifetime of the object?

A As many times as we call it.

B Only once.

C Depends upon a Project Setting made in Visual Studio.NET.

D Any number of times before the object gets garbage collected.

E Any number of times before the object is deleted.

ANS:B - Only once.

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.