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 xml serializer?
What is difference between list and dictionary in c#?
What is null character in string?
Can we instantiate abstract class in c#?
Why do we need indexer in c#?
What is difference between managed and unmanaged code?
What are the types of constructors?
Why data types are important in c#?
What is generic and non generic collections in c#?
Can you create partial delegates and enumerations?
Is comparable a functional interface?
What is the difference between abstract and virtual?
Is c# int immutable?
What does static mean in c sharp?
What is the process of delegation?