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
Differentiate between vector and array list.
What will be the default values of all the elements of an array defined as an instance variable?
How to check if a list is sorted in java?
What is a qms manual?
What are parameters in a method?
do I need to use synchronized on setvalue(int)? : Java thread
Explain notifyall() method of object class ?
What is jdbc api?
What is array and arraylist in java?
what is the use of pojo (plain old java objects)? how it is interact with crystal reports? pls urgent
Can a method inside a interface be declared as final?
Why can't we override private static methods?
Which number is denoted by leading zero in java?
What is the purpose of default constructor?
Which package has light weight components?