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...

How to create an instance of a class if the class has
private constructor?

Answer Posted / meera

create an instance of a class within the same class.
then u can create an instance of a class if the class has
private constructor.

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Discuss 2D arrays.

1048


What are the features in java?

1074


can java object be locked down for exclusive use by a given thread? : Java thread

1099


Can an object be null?

967


What exceptions occur during serialization?

1088


What is the main advantage of passing argument by reference?

991


Can You Have Virtual Functions In Java?

1150


How to overcome the exception object reference not set to an instance of object?

1153


Explain the concept of hashtables?

1140


How many ways can we create the string object?

1019


What is immutable data?

1054


List out benefits of object oriented programming language?

897


What is the meaning of find and replace?

1031


What is argument in java?

1021


Why is java called java?

1050