How to create an instance of a class if the class has
private constructor?
Answer Posted / meera
create an instance of a class within the same class.
then u can create an instance of a class if the class has
private constructor.
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
Is vector thread safe in java?
Do loops java?
What is the class in java?
What must a class do to implement an interface in java programming?
What is JFC?
Where is jre installed?
How do I write a self declaration?
What are the pillars of java?
What is keyset in java?
How do you reverse a list?
Which one will take more memory: an int or integer?
Why should I use abstract class?
What is the difference between a local variable and an instance variable?
Why object class is super class for every class in java?
How to access arraylist elements in java?