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

Can you explain struts.properties in struts2?

904


What is struts2 framework?

897


What is actioninvocation in struts2?

982


Explain about the tag?

1061


What are the classes used as part of struts framework ?

922


What is Struts2?

1021


What is the difference in using Action interface and ActionSupport class for our action classes, which one you would prefer?

1117


Give the details of xml files used in validator framework?

968


What are the struts2 configuration properties that control file uploading process?

1092


What is struts in java with example?

919


Explain struts?

982


What is the use of resourcebundle.properties file in Struts Validation framework?

1021


Why do the struts tags provide for so little formatting?

935


What is the difference between validation.xml and validator-rules.xml files in struts?

889


What are the two scope types for formbeans?

1174