How many objects are created for a singleton class
Answer Posted / chaman
Is a design pattern that is used to restrict instantiation
of a class to one object.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is difference between float and double?
Why is java multithreaded?
What is the reflection?
What is a native method in java programming?
What is the impact of declaring a method as final?
how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? : Java thread
Can we define private and protected modifiers for variables in interfaces?
Why do I need to declare the type of a variable in java?
What is constructor and its types?
What is the exact difference in between Unicast and Multicast object? Where will it be used?
How to change the priority of thread or how to set priority of thread?
Can we create a class inside a class in java?
Can you add null to a list java?
What are constants?
Is call by reference possible in java?