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 purpose of @expressionvalidator annotation?

981


Why we use struts in java?

873


What are the steps of struts installation?

952


Why is it called struts?

888


What is apache struts vulnerability?

879


How to use forward action to restrict a strut application to mvc?

997


What do you mean by actionform?

928


Can we use struts and spring together?

933


in struts how to use hibernate with struts>

2171


What is the configuration files used in struts?

906


What are the steps required for setting up validator framework in struts?

954


What’s the difference between validation.xml and validator-rules.xml files in struts validation framework?

957


What are the contents on web.xml in struts application ?

921


Is Struts Framework part of J2EE?

963


What is struts? Explain

894