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

Explain covariant method overriding in java.

1047


Can you declare an interface method static?

1007


What is the purpose of checked and unchecked exceptions in JAVA?

954


How to display all the prime numbers between 1 and 100

941


Explain what is Marker interface?

1034


What is the vector class in java programming?

1004


What is the difference between comparison done by equals method and == operator?

976


What is final class?

958


What is a class instance variable?

1057


What is static class

1053


How java uses the string and stringbuffer classes?

1001


Can you instantiate the math class?

991


Which variables are stored in stack?

854


What is Hierarchy of exception?

1030


Explain when noclassdeffounderror will be raised ?

988