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
Is struts 1 still supported?
What types of validations are available in xml based validation in struts2?
Are interceptors thread safe?
What are disadvantages of Struts?
What is the purpose of '@keyproperty'?
How duplicate form submission can be controlled in struts?
Explain about struts dispatch action?
How is forward action used for integration?
Why are springs better than struts?
In which order struts framework searches for a message bundle?
Can we have multiple struts config files in a single web app?
What is the purpose of struct-config.xml in struct2?
What is the need of struts?
What is the differences between struts1 and struts2?
What are the differences between http direct and http indirect?