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
How variables are stored in memory?
What does localhost mean?
What interface is extended by awt event listeners?
Can we override constructor in java?
What is static variable with example?
What is ellipsis in java?
Is string thread safe in java?
explain copyonwritearraylist and when do we use copyonwritearraylist?
What is a lightweight component?
What does int [] mean in java?
Can you explain the final method modifier?
Can we use synchronized block for primitives?
What is the function of character?
What is functional interface in javatpoint?
Is string is a data type in java?