Can we create object of a class with new keyword which has private constructor.

Can we create object of a class with new keyword which has private constructor.

Your Answer

No we can not create the object from outside the class but if you want to create the object in the same class we can....

Core Java

Didn't get the answer.
Contact people of Talent-Core Java directly by clicking here