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
What is main function purpose?
What is a text string?
What is java literals?
What does java se mean?
What is java argument list?
Can singleton class be cloned?
What is currentthread()?
How to find the largest value from the given array.
What are pass by reference and pass by value?
Why pointers are not used in java?
Are constructors methods?
What is object-oriented programming?
Difference between object and reference?
What is primitive data type in java?
What is difference between class and object in java?