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

How do you do absolute value in java?

985


What is static data type in java?

1034


What are the differences between include directive and include action?

1192


What is scanner in java?

955


Write an algorithm for quick sort?

1038


What is a variable in java?

1138


What advantage do java's layout managers provide over traditional windowing systems?

958


What is considered an anti pattern?

932


What is a method signature java?

1055


What is object data type?

1004


Difference between this() and super() ?

1120


What is instance example?

959


Difference between ‘is-a’ and ‘has-a’ relationship in java?

1007


Is java a utf 8 string?

980


What is an exception? difference between Checked and Unchecked exception in Java

1014