How many objects are created for a singleton class
Answer Posted / utkarsh verma
Some correction required in last solution
void main(){
Single *ptr = Single::Instance(); //The only way to
//instantiate
}
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What does || mean in code?
How do I enable java in safari?
What are the different types of methodologies?
What is java dot?
How do you reverse a string in java?
What is classpath?
Give any two differences between C++ and java.
Define inheritance with reference to java.
Why Java is not pure Object Oriented language?
What are the ways in which a thread can enter the waiting state?
How arrays are stored in memory in java?
How can we find the actual size of an object on the heap?
What are the types of arrays in java?
What is the difference between Grid and Gridbaglayout?
How many bits is a word?