How many objects are created for a singleton class

Answer Posted / suresh solomon

in clustered environment singletons will have as many instances as JVMs

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What the difference is between execute, execute Query, execute Update?

365


How does finally block differ from finalize() method?

576


Why scanner is used in java?

541


How many threads does a core java have?

505


Can we have multiple public classes in a java source file?

549






what is inner class in java?

620


What are synchronized methods and synchronized statements in java programming?

566


What are thread groups?

566


How do you remove duplicates from an array in java?

524


How does hashmap work in java ?

534


Which variables are stored in heap?

533


Explain JMS in detail.

608


What are the disadvantages of object oriented programming?

585


What is meant by method?

573


How are variables stored in memory?

570