Answer Posted / megha
Constructor is a method having same name as that of a
class.It is automatically invoked when an object is
created.It is used to Initialize variables of a class.It has
no return types.
3 types of constructors are:-
1)default constructor
2)parameterised constructor
3)static constructor
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Do you know what is .net standard?
Is there built-in support for logging?
What is a formatter in .net?
What is Event Bubbling in .NET?
What is .net and why it is used?
Explain the main components in .net?
Explain about managed heap?
What is Ajax design pattern in .NET?
What is .net core used for?
Why do we use the “using” statement?
I was working for software company frm 2005 to 2009. I left job due to recession.I was jobless till dec 09 then i got job in bpo and i am not knowing what to do as my professional experience is with software.give me any suggestion.
Write the .net syntax for 'for loop'?
Differences between namespace, class, assembly?
Can a dll be changed to an exe?
Why SOAP is required?