Can we create more than one object singleton class?
Answer / Shyam Pratap Yadav
"No, by definition, a Singleton class is designed to have only one instance. Any attempt to create multiple instances will result in those additional instances referring back to the original (eagerly loaded or lazily created) unique instance."
| Is This Answer Correct ? | 0 Yes | 0 No |
How many types of syncronization?
Why do we use variables?
how to print a numbers from 1 to 100 with out using control structures?
How are destructors defined in java?
Can we inherit the constructor in a Class?please give one example.
What is the applet security manager, and what does it provide?
Can a class extend 2 classes in java?
What is module in oop?
What is Mutex (Mutual Exclusion Object) ?
What is boolean false?
Can we override constructor in java?
Explain the difference between comparator and comparable in java?