what is a constructor?
Answer Posted / shadab alam
It is very Important to know that
---------------------------------------
Constructor is generally used to create the new instance of
a class.
Constructor is special type of method that is used to
initialized the member variable and It has same name as the
class Name.It does not have return type.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what is object-oriented programming (oop) language?
How can you write a class to restrict that only one object of this class can be created (Singleton class)?
Name which controls do not have events?
Explain how do you convert a value-type to a reference-type?
Are string objects mutable or immutable?
Hi to all..I have to create an intranet application on C#.NET windows Application so please please let can you people help me as iam new in .NET and if u have any samples or website address from where i can get sample please let know.
What does the keyword “virtual†declare for a method or property?
Can we store different data types in arraylist in c#?
How to block a class from being inherited further?
what are windows services?
Why is xml called extensible?
What are different types of Delegates in C#?
Can a abstract class have a constructor?
Explain About Postback
What is a cshtml file?