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

How variables are declared?

729


Is space a character in java?

751


What is busy spin, and why should you use it?

820


How does list work in java?

694


I want to persist data of objects for later use. What’s the best approach to do so?

701


Tell us something about different types of casting?

704


what invokes a threads run() method? : Java thread

760


What is set string?

784


Is minecraft java edition free?

845


What is oops in java?

765


What if static is removed from main method?

787


What are the main differences between the java platform and other platforms?

751


How to optimize the javac output?

793


What are the escape sequences in java?

753


Can we have any other return type than void for main method?

747