Friday 16 December 2011

51.Which of the following statements are correct about constructors in C#.NET?

1.Constructors cannot be overloaded.
2.Constructors always have the name same as the name of the class.
3.Constructors are never called explicitly.
4.Constructors never return any value.
5.Constructors allocate space for the object in memory.
A.1, 3, 5
B.2, 3, 4
C.3, 5
D.4, 5
E.None of these
Answer: Option B