How many objects are created for a singleton class

Answer Posted / chaman

Is a design pattern that is used to restrict instantiation
of a class to one object.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why stringbuilder is not thread safe?

530


Is call by reference possible in java?

527


What is super keyword explain with example?

525


What is unicode with example?

609


What is java lang string?

540






Why java is a platform independent? Explain

527


If an object reference is set to null, will the garbage collector immediately free the memory held by that object?

627


Is it possible for a yielded thread to get chance for its execution again?

504


What is type conversion in java?

568


Can a class be declared as protected?

528


How does queue work in java?

521


Why wait(),notify(),notifyAll() methods defined in Object class althought we are using in only threads.

2362


What is bigger kb or mb?

575


Which keyword specify that a variable is effectively final ?

555


What languages are pass by reference?

532