Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to prevent to create multiple objects of a java class?

Answer Posted / sadiq

Using Singleton Design pattern we can prevent class creating
multiple objects.

Is This Answer Correct ?    30 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a literal coding?

1026


What is the functionality of the stub?

1037


What is the intersection and union methods?

1023


What are class types in java?

1077


What do you mean by of string::valueof expression in java 8?

968


How do you declare an array that will hold more than 64KB of data?

1293


What is static and final keyword in java?

1023


What is the locale class in java programming?

1081


What is an immutable object? How do you create one in java?

1065


Where is the singleton class used?

1031


Does isempty check for null?

1011


Why can't we use static class instead of singleton?

945


What happens when you add a double value to a string?

989


How to avoid memory leak in java?

1138


make a method which any number and any type of argument and print sum of that arguments.....

1818