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 type of question are asked in thoughtworks pair programming round ?

2209


What is object-oriented programming? Webopedia definition

1255


Get me an image implementation program.

1978


is there any choice in opting subjects like 4 out of 7

2169


Advantage and disadvantage of routing in telecom sector

1303


What is the point of polymorphism?

1033


What is solid in oops?

1118


Explain the advantages of inheritance.

1141


What is overloading and its types?

1164


What is abstract class in oops?

1024


What is polymorphism and why is it important?

1040


Why do we use oop?

1096


What is the difference between a constructor and a destructor?

1253


What is ambiguity in inheritance?

1110


Are polymorphisms mutations?

1156