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

What is the difference between filters and interceptors ?

1161


How can we work with error tags?

1000


What is the purpose of @urlvalidator annotation?

998


What does i18n interceptor?

1050


Can you explain struts validator framework?

1015


What is DynaActionForm?

1048


Which interceptor is responsible for i18n support?

942


What do you mean by the abstract package in struts2, and what is its utilization?

947


What are the benefits of Struts framework?

1004


Why do we need struts?

934


List some bundled validators?

1001


What is the differences between struts1 and struts2?

947


Explain struts.devmode?

979


Which model components are supported by Struts?

1041


What is struts framework?

993