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
Explain the difference between constants and read-only variables?
Explain me why do we use msmq?
Is there any inbuilt tool or command provided by .NET to view the code inside the assembly?
Is .net is a language?
What is an anonymous method and how is it different from a lambda expression?
What are two different types of remote object creation mode in .net?
Explain the process of serialization in .NET?
Explain what relationship is between a process, application domain, and application?
How to load a user control dynamically in runtime?
How to prepare parametrized (with more than one parameters) crystal report.pls tell me the code procedure, if any body can?
Explain garbage collection?
One user deleted one row after that another user through his dataset was trying to update same row. What will happen? How will you avoid this problem?
What is an interface and what is an abstract class? Please, expand by examples of using both. Explain why?
Why you want to leave your previous company.
Explain cas (code access security)?