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 happen if the private constructor is written in a claass

Answer Posted / ravi kumar

If we write the private constructor, it is not possible to
create the object for the class. If we want to create the
object for the class, we need to write the default
constructor, which is a public one.

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Lists the bundled validators in struts?

1021


Can we use struts and spring together?

1004


What are the components of struts framework?

1026


What are action errors and error?

1043


What is the use of reset method of ActionForm class?

1033


What is the default suffix for Struts2 action URI and how can we change it?

1005


What are the differences between http direct and http indirect?

977


What is the difference between requestaware and servletrequestaware interface?

1047


What is difference between interceptors and filters?

1030


How we can controlled duplicate form submission in struts?

950


How many action classes can be used in struts application?

992


What inbuilt themes are provided by struts2?

1108


What is the purpose of global-forwards tag in struct-config.xml?

968


Is Struts Framework part of J2EE?

1030


Can I have html form property without associated getter and setter formbean methods?

1013