what is private constructor?what are the uses of writing
private constructor in our program?
Answer Posted / gopalramana
no other class does not create instance of this class,we go
private constructor
| Is This Answer Correct ? | 17 Yes | 3 No |
Post New Answer View All Answers
What is stack example?
Can a constructor call another constructor?
Can classes declared using the abstract keyword cab be instantiated?
What are keywords in java?
what is object-oriented programming in java?
Which is bigger double or float?
Explain about wait() method?
Why is stringbuffer called mutable?
What is volatile data type?
What are singleton services?
What is use of super keyword?
What are the differences between throw and throws?
What's the difference between an abstract class and interface in java?
What is difference between == and === in js?
How do you convert int to char in java?