what is a constructor?
Answer Posted / divya
Constructor is a method that is executed when an object is
created.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can we instantiate abstract class in c#?
What is an ienumerable in c#?
What are the basic string operations? Explain.
Why do we need constructor?
What is a console?
How do I declare a pure virtual function in c#?
Can we override interface methods in c#?
How can you prevent escaping on backslashes in C# with string definitions?
what are the differences between a class and structure
When should we use delegates in c#?
Why we use extension methods in c#?
In which way a two-dimensional array declared in C#?
How to create multi-dimensional array?
Explain attributes in c#?
Why attributes are used in c#?