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
Why packages are used?
What is static and final keyword in java?
Does collectionutils isempty check for null?
How would you format a date in java? I.e. In the ddmmyyy format?
What about instanceof operator in java?
Can we use String with switch case?
How many types of constructors are used in java?
How do you remove duplicates in java?
Give me example of derived data types.
How do you read a char in java?
take an array with -ve and +ve value both.find out the nearest value of 0(zero).if two values are same like(-2 and +2)then extract +2 is nearest of 0(zero).
Is void a type?
Why array is used in java?
What is mnemonic code?
What is the use of arrays tostring () in java?