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

Can we have private constructor in our class file. When we
are trying to create instance for the class will it create
or throw error regarding that?

Answer Posted / balamurugan

we can create private constructor.it wont throw any
execption..but we cant create object for that class

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are satellite assemblies?

971


State the top.NET class that everything is derived from?

938


How do you serialize an object?

1058


what happens if you inherit multiple interfaces and they have conflicting method names?

890


What does return do in for loop?

914


What is an actual parameter?

949


Can we create instance of private class in c#?

899


What is the namespcae generally given to the webpage of the .NET Framework ?

1053


What is event delegate in c#?

1082


how dot net compiled code will become platform independent?

929


Can fields inside a class be virtual?

966


Can constructor have return type c#?

1015


If a class derives from another class, will the derived class automatically contain all the public, protected, and internal members of the base class?

959


What is the relation between classes and objects?

948


Explain more on CLR

1150