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

Is arraylist zero based?

1006


Explain scope or life time of local variables in java?

966


What is %02d?

1037


Explain about the main() method in java?

1019


What is fundamental datatype?

939


Tell me are there implementations for sorting and searching in the java libarary?

977


How do you square a number?

1166


How is java created?

887


How you can force the garbage collection?

930


what is an objects lock and which objects have locks? : Java thread

945


What does || || mean in math?

880


What is string made of?

914


How do you access command-line arguments within the code?

1003


What is the tradeoff between using an unordered array versus an ordered array?

1161


Can we have a method name same as class name in java?

992