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

Can a class extend 2 classes in java?

1026


Why are getters and setters used?

1058


Why we use methods in java?

981


Can we change the value of static variable?

949


How do you sort arraylist in descending order?

1013


Compare java and python.

973


What does super keyword do?

1067


What is parseint?

1005


Can a static method be overridden in java?

1008


What is remote method invocation (rmi)?

1056


What is meant by anonymous class?

1013


What class of exceptions are generated by the java run-time system?

1175


Can a lock be acquired on a class in java programming?

987


Explain wait(), notify() and notifyall() methods of object class ?

1022


What happens to the Exception object after handling an exception?

2358