Accessing the Private Constructor
- by harigm
I am java developer, went for an interview.
I have been asked a question about the Private constructor
1) Can I access a Private Constructor of a Class and Instantiate the class.
I was thinking and gave the answer directly--- "NO"
But its wrong, can any one help Why NO? and How we can achieve this