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 purpose of @expressionvalidator annotation?
Why we use struts in java?
What are the steps of struts installation?
Why is it called struts?
What is apache struts vulnerability?
How to use forward action to restrict a strut application to mvc?
What do you mean by actionform?
Can we use struts and spring together?
in struts how to use hibernate with struts>
What is the configuration files used in struts?
What are the steps required for setting up validator framework in struts?
What’s the difference between validation.xml and validator-rules.xml files in struts validation framework?
What are the contents on web.xml in struts application ?
Is Struts Framework part of J2EE?
What is struts? Explain