Can we define constructors in Servlet?
Answer Posted / sitaram
Each every class execute in java. One default constructor or
define constructor must be calling. If you are not any
constructor write in your class. when execute the program ,
JVM automatically create the default constructor.
| Is This Answer Correct ? | 3 Yes | 5 No |
Post New Answer View All Answers
What is the diffrence between a local-tx-datasource and a xa-datasource? Can you use transactions in both?
What is bean? Where can it be used?
What is Remote Server?
What are transaction attributes?
What is abstract schema?
How to implement RMI in Java?
How to implement dphibernate to activate lazy loading in Flex with java ?thanx in advance!
Name the eight primitive java types.
How to determine SGA site?
Which containers use a border layout as their default layout?
Which textcomponent method is used to set a textcomponent to the read-only state?
Explain ioc concept?
What is the RMI and Socket?
What is a clone?
What is the difference between RMI registry and OS Agent?