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

Define "Access specifiers" in java.

1217


How is string stored in java?

1119


Can a top level class be private or protected?

1095


Give some features of interface?

1135


What is equlas() and hashcode() contract in java? Where does it used?

1199


What are streams?

1165


What is a concrete classes? Is Java object class is concrete class?

1027


What are the types of java languages?

1037


What are keywords in java?

1051


Is .net better than java?

1072


What is thread pool in java with example?

1064


What does exp mean in math?

1045


Can we have a method name same as class name in java?

1100


What is java oops?

1162


What is application system?

1010