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

prevent to access by other class even sub class cant have
permission to create object of that base class.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a constructor overloading in java?

982


What are the five major types of reference sources?

1041


What’s the difference between applets and standalone program?

979


Explain the concept of proper inheritance?

1011


What is the difference between throw and throws keywords?

987


Can we have a try block without catch block?

942


what are three ways in which a thread can enter the waiting state? Or what are different ways in which a thread can enter the waiting state? : Java thread

914


What does java edition mean?

1035


What is matcher in java?

932


How to perform quicksort in java?

1033


Who is founder of java?

944


What are parsers? Dom vs sax parser.

984


How many bits are in a sentence?

1075


What are advantages and disadvantages of OOPs?

1057


What is difference between float and double?

912