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
How are variables stored?
What are java annotations?
For class CFoo { }; what default methods will the compiler generate for you>?
Why is inheritance used in java?
How many bits is a string?
List out five keywords related to exception handling ?
Is null keyword in java?
What are the 6 mandatory procedures for iso 9001?
What is a native method in java programming?
What is object-oriented paradigm?
What is string subsequence method?
What is the difference between an interface and an abstract class?
What are the three best choices for a development environment?
How to connect to a remote database using Applet?
Is double bigger than float?