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 / kamlesh sharma

constructors are special type of member functions of class
which is used to initilized a object

1. constructors are as same name of the class
2. don't have any return type
3. don't return any value


Types
1 default constructor
2 parametrized constructor and
3 copy constructures

constructors can be overload

Is This Answer Correct ?    15 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does bitwise work?

938


Can we inherit partial class in c#?

982


Is c# pass by reference?

938


What is private constructor c#?

961


Why is it not a good idea to use empty destructors?

1092


What is difference between for and foreach loop in c#?

1073


Give an example to show for hiding base class methods?

893


What are the desktop applications?

918


Are c# destructors the same as c++ destructors?

1215


Is xamarin free?

896


What is argument in c#?

982


What is difference between an reference type and value type in C#?

1100


Can we customize the serialization process?

1022


How do you escape in c#?

978


Why do we use ienumerable in c#?

938