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 private constructor in core java?

Answer Posted / rajib

Whenever we r using singleton class then we use constructor
as private.

Is This Answer Correct ?    38 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a for loop in java?

1001


Explain importance of finally block in java?

993


Why do we need wrapper classes?

1025


What are the difference between composition and inheritance in java?

974


Difference between overriding and overloading in java?

1019


Describe the various concepts related to object oriented programming (oop).

991


Explain about exception propagation?

988


Is string is a class in java?

906


What are different exception types exceptions available in java ?

959


What are thread safe functions?

904


Can a abstract class be defined without any abstract methods?

946


What is a hashmap used for?

1186


What is main function purpose?

973


How we can make copy of a java object?

1050


Give an example of call be reference significance.

990