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
does java support pointers?
If a class is declared without any access modifiers, where can the class be accessed?
What are the different data types in java?
What is the properties class?
Explain the scope of a variable.
What is the difference between compile-time polymorphism and runtime polymorphism?
Explain a few methods of overloading best practices in java?
How to create packages in java?
there are N number of matchboxes numbered 1...N.each matchbox contain various number of stick.Two player can alternatevely pick some amount of stick from the higest stick containing box . The player is condidered win if there is no stick after his move.Find the final move so that the move player win. Note:In case the number of stick is equal ,pick the stick from the higest numbered box.
What does it mean that strings are immutable?
What the difference is between execute, execute Query, execute Update?
What is boolean example?
Is binary a low level language?
what do you mean by classloader?
Which programming language is best in future?