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
Can you explain struts.properties in struts2?
What is struts2 framework?
What is actioninvocation in struts2?
Explain about the
What are the classes used as part of struts framework ?
What is Struts2?
What is the difference in using Action interface and ActionSupport class for our action classes, which one you would prefer?
Give the details of xml files used in validator framework?
What are the struts2 configuration properties that control file uploading process?
What is struts in java with example?
Explain struts?
What is the use of resourcebundle.properties file in Struts Validation framework?
Why do the struts tags provide for so little formatting?
What is the difference between validation.xml and validator-rules.xml files in struts?
What are the two scope types for formbeans?