Accessing the Private Constructor

Posted by harigm on Stack Overflow See other posts from Stack Overflow or by harigm
Published on 2010-04-08T11:34:40Z Indexed on 2010/04/08 11:43 UTC
Read the original article Hit count: 424

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

© Stack Overflow or respective owner

Related posts about java

Related posts about constructor