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
How will you pass parameters in RMI? Why do you serialize?
What is the purpose of the notifyall() method?
Is the session factory thread safe?
Can I run seam outside of jboss as?
Explain the advantages and disadvantages of detached objects.
what is a portable component?
What if the static modifier is removed from the signature of the main method?
hi friends, i have done my BE(CSE)at 2011 then i have joined one company before they asked me 50k so i paid but now they telling no project here so we r going to close like that so now i need any job i have good knowledge in core java and j2ee(jsp,servlet,jdbc) so if u know any job pl help me
Are we allowed to change the transaction isolation property in middle of a transaction?
What is a modular application?
What are the purpose of introspection?
What is a class loader? What are the different class loaders used by jvm?
Do we need to override service() method
What is the relationship between the canvas class and the graphics class?
What happens when a thread cannot acquire a lock on an object?