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 the use of arraylist in java?

1096


What are the ways in which a thread can enter the waiting state?

944


what is meant by HQL?

1071


What is ctrl m character?

1060


What do you mean by access modifier?

1034


What is local class in java?

1092


What is lazy programming?

1043


What are the main uses of java?

992


Explain about field hiding in java?

950


Explain parallel processing in java8?

1259


Why string objects are immutable in java?

1049


What's the difference between int and integer in java?

1169


Can we write class inside a class in java?

986


What are the types of sockets in java?

1156


What are format specifiers in java?

1068