Can we define constructor in Servlet class?
Answer Posted / sitaram
in java, we can access any class, first JVM search the any
type(with or with out parameters) constructor. if it their
the same constructor will be calling other wise JVM create
the default constructor for that class.
Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
What is string tokenizer?
What is load-on-startup in servlet?
What is difference between jsp and servlet?
What is servlet and its life cycle?
Describe servlet?
What do you mean by default initialization in java servlet?
How do we call one servlet from another servlet?
How to get the current httpsession object?
What is the directory structure of web application?
What's the advantages using servlets than using cgi?
What is the importance of init() method in Servlet ?
How to get the server information in a servlet?
How can I send user authentication information while making URL Connection?
Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?
Explain the concept of ssi ?