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
If I am writing in a language like vb or c++, what are the procedures to be followed to support .net?
What is namespace in .net?
Explain the difference between vb and vb.net?
Explain how to rename a table using sql queries?
What is the new three features of COM+ services, which are not there in COM (MTS)
What is clr in .net?
What is the difference between vb.net and vc#.net?
What is manifest in .net?
What are the core differences between .NET Languages ?
What is the lapsed listener problem?
What is .net standard?
If you are executing these statements in commandobject. Select * from table1; select * from table2? How you will deal result set? 42. How do you sort a dataset.
What is 'Common Type System' (CTS) in .NET?
Explain how com+ related to the dna architecture?
Show different types of collection in .NET?