How to prevent to create multiple objects of a java class?
Answer Posted / zoozoo
use collections
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is the functionality of the stub?
In a program, initializing an array of 100 KB is throwing an out of memory exception while there is 100 MB of memory available. Why?
What is a qualifier in a sentence?
How do you differentiate abstract class from interface?
Can we call the run() method instead of start()?
Define reflection.
Why java doesn’t support multiple inheritances?
What is java ceil?
Can I learn java in 3 months?
What are loops in java? What are three types of loops?
How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters in java programming?
Is this valid in java ? Can we instantiate interface in java?
Is there any case when finally will not be executed?
Why main method is static in java?
Why string is a class?