Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Explain constructor?

Answer Posted / pragnyan

Constructor is a method having the same name as the class
name.It is automatically invoked when instance of the class
is created.It is used to initialize the members.Constructos
canot have any return type not even void.constructors can
be overloaded.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is c sharp used for?

888


What are class fields?

943


What is the difference between as and is operators in c#?

921


What is the use of base keyword? Tell me a practical example for base keyword’s usage?

910


What is a string c#?

897


Can you see a loop recorder?

854


How C# 4.0 supports dynamic programming language?

1014


Explain manifest & metadata in c#.

1005


Describe the overview of clr integration.

972


What is garbage collector and where should you use in .NET?

981


Can bool be null c#?

874


What is use of singleton class in c#?

976


Does c# support properties of array types?

922


Is post back c#?

923


Which one is trusted and which one is untrusted?

929