what happen if the private constructor is written in a claass

Answer Posted / venkateshk

If private constructor is written in a class is preventing
to create objects for the class from outside of class.

Is This Answer Correct ?    16 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is struts-default package and what are it’s benefits?

581


how to debug struts project in netbean ?

1923


How duplicate form submission can be controlled in struts?

650


What is interceptor in Struts2?

570


What is purpose of execandwait interceptor?

583






What’s the difference between validation.xml and validator-rules.xml files in struts validation framework?

585


What is defeult result type?

632


What do you mean by a custom tag?

546


What is request processor and how does it relates to action mapping?

585


What is the different actions available in struts?

546


How action-mapping tag is used for request forwarding in struts configuration file?

586


What does modeldriven interceptor?

593


Can you give an overview of how a struts application flows?

529


What are the different kinds of actions in struts?

557


How many action classes can be used in struts application?

514