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

What is linked hashmap and its features?

1013


What is the method to expand and collapse nodes in a jtree?

1046


What are the differences between getting and load method?

1201


Why set do not allow duplicates in java?

1111


How we can generate random numbers in java?

1136


Explain the protected field modifier?

1106


How dead lock situation occurs in java and how you can identify it?

1000


Can a method be overloaded based on different return type but same argument type?

975


Explain numeric promotion?

1110


How do you escape in java?

1084


What two classes are used to read data only?

1102


What is class variable java?

1016


What is the difference between assignment and initialization?

1055


Why multiple inheritance is not supported by java?

989


What do you mean by checked exceptions?

963