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 / arpitha

no, its of no use having a private constructor,,, bcoz
declaring constructor as private makes it blocked.

Is This Answer Correct ?    6 Yes 24 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is abstraction and encapsulation?

1022


What is the diamond problem in inheritance?

1141


What do you mean by variable?

1040


c++ program to swap the objects of two different classes

2422


INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?

2209


what is the sylabus for priliminaries?

2179


What are oops functions?

1027


i=20;k=0; for(j=1;k-i;k+=j<10?4:3) { cout<

1861


What is advantage of inheritance?

1174


what's the basic's in dot net

2188


What is abstraction example?

1112


Can a destructor be called directly?

1076


What is the real time example of encapsulation?

1070


Why multiple inheritance is not allowed?

1159


What is inheritance write a program to show use of inheritance?

1149