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
What is difference between classpath and path variables in java?
How to calculate the length of a singly linked list in java?
What is pangram in java?
What is time complexity algorithm?
What is int lol?
What is private public protected in java?
What is meant by method overriding?
What are the advantages of arraylist over arrays?
Difference between serialization and deserialization in java?
What is lazy programming?
What are parsers? Dom vs sax parser.
Which is bigger float or double java?
When is the arraystoreexception thrown?
How do constructors use this() and super()?
why Interface used?