Answer Posted / kamlesh sharma
constructors are special type of member functions of class
which is used to initilized a object
1. constructors are as same name of the class
2. don't have any return type
3. don't return any value
Types
1 default constructor
2 parametrized constructor and
3 copy constructures
constructors can be overload
| Is This Answer Correct ? | 15 Yes | 0 No |
Post New Answer View All Answers
Why do we use virtual methods in c#?
What is the difference between abstract and abstraction?
What is the difference between CreateObject() and GetObject()?
Can destructors have access modifiers?
What is the use of convert toint32 in c#?
What is the difference between parse and tryparse in c#?
What is data hiding in c#?
What is the default value of string in c#?
Can we use "this" command within a static method?
What can we do to handle multiple exceptions?
Can property be private in c#?
What is the importance of closing an ado.net application?
How do I develop c# apps?
What is the difference between a private assembly and a shared assembly?
Can a static class contain non static members?