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...

Can we have a private constructor ?

Answer Posted / ashwini

Yes, We can.
By doing so, we can create only single instance of the
class.(singleton)

Is This Answer Correct ?    0 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the real life example of polymorphism?

1111


Why is polymorphism needed?

1001


What is stream in oop?

1245


What is super in oop?

1087


Can a destructor be called directly?

1019


what is the drawback of classical methods in oops?

3315


Please send ford technologies placement paper 2 my mail id

2057


What is the oops and benefits of oops programming?

925


What do you mean by variable?

974


What is basic concept of oop?

1104


What is the purpose of polymorphism?

1083


Why is object oriented programming so hard?

1024


What is encapsulation in simple terms?

974


What is abstraction in oops with example?

1216


What are functions in oop?

996