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 / kousik

Main Advantage of Cons:
1)Object Initialization
2)Class don't have Private access specifier through use of private constructor avoid inheritance.
3)Types:a)static b)Instance
a)--Default automatically crates and no arguments are not supplied.
b)-Same name of class but we have n no of arguments.

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are handlers in c#?

958


What is int64 in c#?

898


What is the difference between namespace and class?

946


Define property in c#.net?

964


Why we use delegates in c#?

912


Why do we need constructor?

921


Does c# provide copy constructor?

1018


Which attribute is used in order that the method can be used as webservice?

940


What are controls in c#?

947


Explain About multi level and multiple inheritance how to achieve in .net

1035


What are the types of operator?

865


What is access specifier in c#?

1063


What is the difference between static and private constructor in c#?

1017


What are the 3 different types of arrays?

1031


What is enum in c#?

956