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

Highest level event class of the event-delegation model?

4005


Addition to previous section relative word 5th one was Putrid ans: rotten, also there was prob. in 1st section on bucket weight ans:10kg, also there was a prob. on train speed to find bridge length ans:800 mtrs.

2166


What is a return in java?

1026


What is a lock or purpose of locks in java?

1018


Explain the scope of a variable.

1089


Can we have multiple classes in single file ?

1064


Are maps ordered java?

949


What is compareto?

1029


What is pojo class in java?

1087


What is the difference between import java.util.date and java .util?

1052


What data type is true or false?

1034


What is the difference between int and integer in java?

1023


In how many ways we can create threads in java?

1205


what do you understand by the term string with respect to java?

1034


What is the purpose of methodology?

1076