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
Discuss 2D arrays.
What are the features in java?
can java object be locked down for exclusive use by a given thread? : Java thread
Can an object be null?
What exceptions occur during serialization?
What is the main advantage of passing argument by reference?
Can You Have Virtual Functions In Java?
How to overcome the exception object reference not set to an instance of object?
Explain the concept of hashtables?
How many ways can we create the string object?
What is immutable data?
List out benefits of object oriented programming language?
What is the meaning of find and replace?
What is argument in java?
Why is java called java?