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 sortedmap in java?
How do you sort a string in java?
How do you allocate memory to object?
how to split string in java?
Explain the importance of throwable class and its methods?
What lambda means?
Can a class be declared as static?
What is a constructor overloading in java?
What is return code?
What does %4d mean in java?
how to convert Java project into Maven ?
What is the use of private static?
What is a byte array?
Explain an algorithm to find depth of a binary tree.
How can an exception be thrown manually by a programmer?