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

Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?

4757


What is a superclass in oop?

1182


What does and I oop mean in text?

1234


Why we use classes in oop?

1049


What is the full form of oops?

1194


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

2195


What is oops in simple words?

1105


What is encapsulation in oops?

1020


write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.

2285


Can we have inheritance without polymorphism?

1033


How long to learn object oriented programming?

1099


What is the point of oop?

1193


Please send ford technologies placement paper 2 my mail id

2105


Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)

4155


What is the advantage of oop over procedural language?

1091