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 private constructor?what are the uses of writing
private constructor in our program?

Answer Posted / udaychow

only once instance of a particular class is allowed.through
private constructor only we can achieve singleton design
pattern.

Is This Answer Correct ?    8 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain notify() method of object class ?

1033


Is null keyword in java?

886


What is the r character?

969


What is the purpose of static keyword in java?

906


What is Java Reflection API? Why it’s so important to have?

1076


What is the difference between a switch statement and an if statement?

1015


Why is multithreading important?

889


What is keyword and identifier?

1079


What is the use of arraylist in java?

1028


What is a method type?

942


What are computer functions?

881


What is append in java?

1089


What is java reflection?

920


What does 3 dots mean in java?

922


What is a platform?

989