Answer Posted / ravi
Make the constructor private
provide a static synchronized method to get the Instance.
this should make the object singleton for that jvm instance
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What are the additional productivity features and enhancements included with Quartus II software version 6.0?
Contact a system development program in your organization. Research how they analyzed their SYSTEM OF INTEREST (SOI), its OPERATING ENVIRONMENT, and their respective system elements. How was this analysis reflected in the SOI architecture?
Can we use an equated value as operands for an MVC ? Reason for the same.
What is the use of such a class?
What is synchronizer token pattern?
What are the most popular design patterns?
What is onion architecture?
What is single tone design pattern in java?
Hi, I have 9backlogs in btech and i am 2008 passed out,am working with an MNC from past 3 years.now, am willing to do MS, will it be any problem for me?
What are the main types of concurrency design patterns?
What is the difference between factory and strategy design pattern?
What are the types of the proxy design you will get in the design pattern?
when performing a functional test on a phone calculator,if pressing on a button does not function what do i do next
What are the types of design patterns?
What is the singleton design pattern?