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
object is physical and class is logical..here class is not occupying any memory as our definition of class but i got a question then the class where it stores if it is not occupying any memory....
What is the base class of Button control in .NET?
Can I write il programs directly?
Explain how does assembly versioning work?
Should I use readerwriterlock instead of monitor.enter/exit?
What is the difference between a class and an object, and how do these terms relate to each other?
i m fresher,hav SQL knowledge but in my ofc. i hav to work on dotnet. so plz tell me how to learn it,? from where to stat? i hav C prog. knowledge, ASP.net
Explain how to redirect tracing to a file?
What are three common acronyms used in .net, and what do they stand for?
Explain asp.net?
What is 3 tier architecture?
What is the purpose of enumerable class in .net?
What is a garbage collector?
State the differences between the dispose() and finalize().
What is the advantage of packaging over xcopy in .net?