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
Lists the bundled validators in struts?
Can we use struts and spring together?
What are the components of struts framework?
What are action errors and error?
What is the use of reset method of ActionForm class?
What is the default suffix for Struts2 action URI and how can we change it?
What are the differences between http direct and http indirect?
What is the difference between requestaware and servletrequestaware interface?
What is difference between interceptors and filters?
How we can controlled duplicate form submission in struts?
How many action classes can be used in struts application?
What inbuilt themes are provided by struts2?
What is the purpose of global-forwards tag in struct-config.xml?
Is Struts Framework part of J2EE?
Can I have html form property without associated getter and setter formbean methods?