Answer Posted / ranjanatyagi
A constructor has the same name as class name.Constructor
has no return type.Constructor are used to initialize the
object.
Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
Who benefits from ajax?
How to implement a singleton design pattern in c#?
What are the generation of Garbage Collection in C# .NET ?
What is deadly diamond problem?
Is c# and c sharp same?
How do generics work in c#?
Is c sharp and c# are same?
Explain the difference between abstract class and interface.
What are the advantages of using c#?
What is c# used for?
What is interpolation in programming?
How to use reflection to call generic method?
What are the Configuration files in .net?
What is polymorphism in c sharp?
Can you inherit multiple classes in c#?