How to perform Singleton of the java class object on multi
JVM?
Answer Posted / boka
How would you maintain the state of the object across the
JVM... if a singleton is being worked upon on multiple JVMs
and each one changes the state of Singleton how would this
be maintained. I dont think that Singleton across JVMs
makes any sense...
Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
How we can generate random numbers in java?
What are the benefits of java?
What is console based application in java?
What is the basic concepts of OOPS?
Why stringbuffer is faster than string?
Explain implementation and how is it different from conversion?
What is the size of int?
Explain the importance of finally over return statement?
How does compareto method work?
Why runnable interface is used in java?
What is difference between next () and nextline () in java?
How many types of equations are there?
What is time complexity algorithm?
What is a flag variable?
Can you make a constructor final in Java?