private constructor

Is there any way by which we can access private constructor of a class from another class.
[97 byte] By [jaaya] at [2007-10-2 20:57:27]
# 1
Why do you tink you should be doing this? You might be able to with reflection, but if the c'tor is private, it's for a reason.
jverda at 2007-7-13 23:42:09 > top of Java-index,Java Essentials,New To Java...
# 2
actually i am studying for SCJP so i have to think from every angle. right?
jaaya at 2007-7-13 23:42:09 > top of Java-index,Java Essentials,New To Java...
# 3
Oh, okay. Fair enough.I think you can do it with reflection, but I'm not sure, and I've never tried. You'd probably have to call setAccessible or something.
jverda at 2007-7-13 23:42:09 > top of Java-index,Java Essentials,New To Java...