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
What is Flyout Design Pattern in .NET?
Is .net core managed code?
What's the problem with .net generics?
How big is the datatype int in .net?
What is the difference between a namespace and assembly name in .net?
Is .net 4.8 backwards compatible?
Explain something about WebService?
What class does icon derive from? Isn't it just a bitmap with a wrapper name around it?
Differentiate between 'DataSet' and 'SQLDataReader' in ADO.NET?
Explain how do assemblies find each other?
Write a program to create a user control with name and surname as data members and login as method and also the code to call it.
How can you turn-on and turn-off cas?
Is there any attempt system for microsoft technology papers?
What is an anonymous method and how is it different from a lambda expression?
Is .net core stable?