View Single Post
Contributor
4May2009,15:18  
sharmila's Avatar
How to invoke a function in a class which is having private constructor.

Eg:
Code:
class A
{
     private A(){}
     public void fun(int a )
     {
              ...................
              .................
      }
};
In this example if we want to invoke fun(int), how can we do that?