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

Private constructor can be used to make a pure static
class, using it we can create only one instance of class at
the loading time.

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about varargs in java?

1107


What is functional interface in javatpoint?

1023


how to prepare for IT Officers Interview in Banks

1959


Can you explain the cs option of java interpreter?

934


What does yield method of the thread class do?

1012


What is the use of static class?

1159


explain multi-threading in java?

1014


How do you get the length of a string in java?

984


What is matcher in java?

971


Can we use both this () and super () in a constructor?

990


What are different type of exceptions in java?

955


What are the types of sockets in java?

1115


what do you mean by classloader in java?

1008


what is the messsage u r going to get from an objectoriented programing?

2084


How many types of equations are there?

1001