what happen if the private constructor is written in a claass

Answer Posted / venkateshk

If private constructor is written in a class is preventing
to create objects for the class from outside of class.

Is This Answer Correct ?    16 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many struts config file can be created in struts?

580


What inbuilt themes are provided by struts2?

687


What is the use of struts?

610


What is the procedure of operation of a form tag?

647


How can duplicate form submission be handled in struts 2?

619






Explain architecture of struts2?

678


What are the steps of struts installation?

652


Which class is the Front Controller in Struts2?

622


What is struts.devmode?

678


Explain about the process of functioning of the struts program?

680


What are the two different types of validations that the validator framework supports?

610


How to use dispatchaction?

665


What is action class? What are the types of action class?

603


What is the difference between requestaware and servletrequestaware interface?

667


What are action errors and error?

660