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 token used for?

971


What are the loop holes of struts?

1099


What is the difference between empty default namespace and root namespace?

1206


How to combine the struts with velocity template?

1000


What are best practices to follow while developing Struts2 application?

1118


What are inner class and anonymous class?

1047


What are the sections into which a strut configuration file can be divided?

1109


Explain about how requests from the client are sent?

1084


What is the purpose of @intrangefieldvalidator annotation?

1384


State an example of struts configuration file as an action parameter for action servlet.

1049


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

1116


What are action errors and error and what are the consequences they impose?

1055


Provide some important Struts2 constants that you have used?

1053


Explain the difference between jakarta struts and apache struts?

994


Can you give an overview of how a struts application flows?

1001