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...

what is a constructor?

Answer Posted / ranjith

Constructor is a method which will be executed when an
object is created. It is used to Intialize the
object.constructors has the same name as the class
name.constructors will take parameters.constructors doesnot
return any value

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is private and shared assembly?

1065


Write the syntax for catching an exception in c#?

933


What is for loop in c#?

955


How do I use the 'using' keyword with multiple objects?

1001


Is linkedhashset synchronized?

1180


What are the 3 logical operators?

1029


What is a console application in c#?

1003


What is the size of a decimal?

1127


What is option parameter in C#?

1015


How would you describe encapsulation in c#?

944


What is the difference between add and addrange in c#?

1048


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

974


How many types of interface are there in c#?

1036


Why do we use ienumerable in c#?

940


How do switch statements work?

959