what is the use of private constructor in core java?
Answer Posted / rajib
Whenever we r using singleton class then we use constructor
as private.
Is This Answer Correct ? | 38 Yes | 6 No |
Post New Answer View All Answers
I want to persist data of objects for later use. What is the best approach to do so?
Why do we need strings in java?
What is floor math?
Mention a package that is used for linked list class in java.
What are the two types of java?
What is a short in java?
What is hash table in java?
Define "Access specifiers" in java.
What is unicode full form?
Why does java doesnt suuport unsigned values?
Whats the difference between notify() and notifyall()?
Which of the following classes will have more memory allocated?
What is the escape character in java?
How do you allocate memory to object?
What is identifier with example?