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 / neha

In Private Construtor is that
1. We used The Private acess Modifier
2. In Private Construtor We can Not Create the instance Of
this Class in Outside Class
3. We can used only Static Data Member In Private Construtor

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is integers and example?

961


How do you write methodology?

965


List out five keywords related to exception handling ?

998


What is bubble sort in java?

1030


What are the differences between c++ and java?

1114


What is Session reduplication and how its done?

2022


What is the concept of multithreading?

972


Does java support function overloading, pointers, structures, unions or linked lists?

1086


What are the differences between path and classpath variables?

1019


Which one of the following suits the description of a string better: derived or primitive?

940


Can we extend singleton class in java?

944


What is keyword auto for?

1166


Can we overload the methods by making them static?

981


What is thread life cycle in java?

1047


Is simpledateformat safe to use in the multithreaded program?

985