A private constructor can be called outside its class but how??????
We can not make the instance of the private constructors. But someone told me that a private constructor can be called.how???????
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Santhosh Kumar JayaramanRank #563 · 4.3K reputationPosted Aug 20, 2012, 9:01 PM EDT
http://www.ipreferjim.com/2011/08/c-instantiating-an-object-with-a-private-constructor/
Sukesh MarlaRank #461 · 5.4K reputationPosted Aug 20, 2012, 10:22 PM EDT
You cant invoke private constructor from Outside the clas.
We declare constrcutor as private when we want to restrict user from creating objects..
Normallyin this case we create static method in class which will return the Class Object
public class A
{
private A()
{
}
public static A GetA()
{
return new A();
}
}
.
.
.
.
Main()
{
A a=A.getA();
}
Hope this helped, check this is correct answer