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

Why pointers are not used in java?

1181


What is data type example?

1007


What is singleton class in ruby?

1069


What is difference between java and java ee?

1075


What is final variable?

995


Is minecraft java edition free?

1170


Is java developer a good career?

1085


How do you override a method?

1078


what is mena by object block any what is the use of that

2263


What are basic keywords?

1076


What happens if we don’t override run method ?

1061


Which method cannot be overridden in java?

1043


What is anagram in java?

975


How a string is stored in memory?

1083


What is type conversion in java?

1095