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
what is thread in Java ?
What is a buffer in computer?
What happens if main method is not static?
Why runnable interface is used in java?
When will we use them?
What is the purpose of methodology?
Explain thread in java?
Is java 11 paid version?
How many types of keywords are there?
Is array passed by reference in java?
How can we avoid including a header more than once?
Outline the major features of java.
Can we catch more than one exception in a single catch block?
explain the difference between jdk and jvm?
What is replacefirst in java?