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 an object in java?

971


What is floating data type?

917


What is method in java ?

1018


What is java string pool?

947


What are the drawbacks of reflection?

957


How can an exception be thrown manually by a programmer?

927


What is the function of compareto in java?

1008


what is object slice?

2000


What is nested loop? What is dangling else condition in it?

1021


Explain about the security aspect of java?

923


Why deletion in linkedlist is fast than arraylist?

1023


what is synchronization? : Java thread

968


What are the two types of streams offered by java 8?

875


What are class members by default?

1020


What is t in generics in java?

1001