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 are different oops concepts?

1113


Why is destructor used?

1080


What is difference between abstraction and encapsulation?

1135


State what is encapsulation and friend function?

1341


What does <> mean pseudocode?

1262


What is interface? When and where is it used?

2210


Can we override main method?

1281


What is abstraction in oop with example?

1191


What is class and object with example?

1225


What is pointer in oop?

1125


Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)

2161


What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }

2698


what is difference between class template and template class?

2714


What is the real life example of polymorphism?

1235


What is encapsulation oop?

1106