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 callback method in c#?
Describe the parts of assembly.
What is collection of classes in c#?
What is the use of static in c#?
Is c# a backend language?
What are the types of delegates in c#?
Is it true that all c# types derive from a common base class?
What is difference between const and static in c#?
What is c# console application?
What is expression c#?
What is an enumerator in c#?
What are the differences between a class and a struct?
What is default parameter in c#?
What is the use of main method in c#?
What is c# entity framework?