Constructors

Q1: Which of the following statements is correct about constructors in C#.NET?

A A constructor cannot be declared as private.

B A constructor cannot be overloaded.

C A constructor can be a static constructor.

D A constructor cannot access static data.

E this reference is never passed to a constructor.

ANS:C - A constructor can be a static constructor.

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.