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
What is the difference between filters and interceptors ?
How can we work with error tags?
What is the purpose of @urlvalidator annotation?
What does i18n interceptor?
Can you explain struts validator framework?
What is DynaActionForm?
Which interceptor is responsible for i18n support?
What do you mean by the abstract package in struts2, and what is its utilization?
What are the benefits of Struts framework?
Why do we need struts?
List some bundled validators?
What is the differences between struts1 and struts2?
Explain struts.devmode?
Which model components are supported by Struts?
What is struts framework?