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 many objects are created for a singleton class

Answer Posted / utkarsh verma

Some correction required in last solution

void main(){

Single *ptr = Single::Instance(); //The only way to
//instantiate

}

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is serialversionuid?

1009


Why 1 is not a prime number?

979


What will happen to the exception object after exception handling?

945


What are the 8 data types in java?

936


Does java isempty check for null?

943


Can you override a final method?

982


How to instantiate member inner class?

1028


What is a parameter example?

926


What about member inner classes?

1038


Explain notify() method of object class ?

1033


How do you download stubs from Remote place?

1711


Is cout buffered?

1112


When will we use them?

977


What is sleep method?

1042


Mention the default values of all the elements of an array defined as an instance variable.

921