Thread
:
Private Constructors
View Single Post
sharmila
Contributor
4May2009,15:18
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?