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 strongly typed view?
Is c# pass by value?
Which property of the textbox cannot be changed at runtime?
Which string method is used for concatenation of two strings in c#?
Which is faster list or dictionary in c#?
How to move to a state-related codebase?
Explain synchronous and asynchronous operations?
Is a decimal an integer?
Why do we need properties in c#?
Is as keyword in c#?
Why we need get set property in c#?
What does string intern do?
How will you allow a class to be inherited, but prevent the method from being over-ridden?
How do you concatenate in c#?
What is IL / CIL / MSIL?