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 private constructor? where will you use it?

Answer Posted / dsr

private constructor access only that class. we can't access
in other class.we can use the private constructor in
singleton patteren.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define clr in .net?

1049


What is the importance of closing an ado.net application?

945


What are different types of classes in c#?

949


What are jagged arrays used for?

984


Is and as in c#?

1046


Is visual c# free?

958


How do I get deterministic finalization in c#?

1108


Is overriding of a function possible in the same class?

1006


What is javascriptserializer c#?

1036


In c#, what will happen if you do not explicitly provide a constructor for a class?

1010


What is c sharp language?

1021


What is the difference between method overriding and method overloading?

1005


Explain a MSIL ? Why is it appreciated by all developers?

1179


Why singleton is sealed?

901


Does unity require coding?

1002