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

what is the use of declaring constructor as private?

Answer Posted / ravikiran

In order to restrict the class to get subclassed

Is This Answer Correct ?    6 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell some latest versions in JAVA related areas?

984


What is the difference between call by reference and call by pointer?

956


What are dot operator queries?

1103


When wait(), notify(), notifyall() methods are called does it releases the lock or holds the acquired lock?

997


What is the difference between a field variable and a local variable?

1102


What happens when you invoke a thread’s interrupt method while it is sleeping or waiting?

973


Explain about oops concepts.

1120


what do you mean by marker interface in java?

975


What is the benefit of singleton pattern?

981


What is byte data type?

989


How to make object serializable in java?

971


Which keyword specify that a variable is effectively final ?

983


What is class and its types?

1029


Write a java program to print fibonacci series?

946


How will you calculate the depth of a binary tree if the tree contains 15 nodes?

1077