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

Is vector thread safe in java?

1043


Do loops java?

1009


What is the class in java?

1008


What must a class do to implement an interface in java programming?

1048


What is JFC?

1230


Where is jre installed?

1027


How do I write a self declaration?

1105


What are the pillars of java?

917


What is keyset in java?

1076


How do you reverse a list?

995


Which one will take more memory: an int or integer?

1221


Why should I use abstract class?

1090


What is the difference between a local variable and an instance variable?

1099


Why object class is super class for every class in java?

1020


How to access arraylist elements in java?

983