what happen if the private constructor is written in a claass

Answer Posted / naveen.bav

It will become singleton

Is This Answer Correct ?    7 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are struts and shocks the same?

596


What is action class?

672


What is filter dispatcher in struts?

620


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

679


What are apache struts?

588






What is the purpose of @emailvalidator annotation?

583


Which file is used by controller to get mapping information for request routing?

642


Which configuration file is used for storing jsp configuration information in struts?

637


What is the difference between session scope and request scope when saving formbean ?

644


How is declarative handling of exceptions done in struts ?

553


Which library is provided by struts for form elements like check boxes, text boxes etc?

597


What is the purpose of form-beans tag in struct-config.xml?

631


How does one create an action in struts 2?

611


What is the default suffix for struts2 action uri ?

637


What is difference between struts1 and struts2?

581