adspace
Can you create instance of a class which has private constructor?
Answer Posted / Tulika Chatterjee
No, it's not possible to create an instance of a class with a private constructor directly. To work around this limitation, you can use factory methods or dependency injection techniques.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers