What is singleton class?
Answer Posted / harinath reddy.n
Instead of creating a separate object for every requirement we can create a single object and we can reuse the same object for every requirement
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Explain wait(), notify() and notifyall() methods of object class ?
List out five keywords related to exception handling ?
What is anagram number?
What is java virtual machine and how it is considered in context of java’s platform independent feature?
What is temp in java?
What are the super most classes for all the streams?
Is set thread safe java?
Can we access the non-final local variable, inside the local inner class?
What is the difference between arraylist and hashset in java?
What are the elements of java?
What does index mean in java?
Why are constructors used?
How do you declare an array in java?
Can we override the static methods?
Is constructor inherited?