what is a constructor?
Answer Posted / ranjith
Constructor is a method which will be executed when an
object is created. It is used to Intialize the
object.constructors has the same name as the class
name.constructors will take parameters.constructors doesnot
return any value
Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What is a must for multitasking
What is exe in c#?
without modifying source code if we compile again, will it be generated MSIL again?
How many types of polymorphism are there?
Why are dynamic link library used over static one?
Explain the difference between a namespace and assembly name in .net?
How do I know if executenonquery is successful c#?
What is inheritance in csharp?
Can a dictionary have duplicate keys c#?
What is out in c#?
Are c# generics the same as c++ templates?
How do you name a variable in c#?
What is difference between singleton and static class in c#?
Why is c# better than java?
What is difference between private and protected?