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


Please Help Members By Posting Answers For Below Questions

What does args mean in c#?

679


How C# 4.0 supports dynamic programming language?

771


What is uint64_t?

733


What are the types of access modifiers?

687


What is difference between constants and readonly in c#?

765


What is the use of return in c#?

713


what is .NET framework architecture ??

1769


What is enum in c#?

715


What does return do in for loop?

685


Explain how can I get around scope problems in a try/catch?

676


Can dictionary have duplicate keys c#?

684


Explain About sn.exe

698


What is lazy loading entity framework?

717


Define parsing? Explain how to parse a datetime string?

729


Why do we need oops in c#?

698