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 the directory structure of web application?
What is the main purpose of java servlets?
When a servlet accepts a call from a client, it receives two objects. What are they?
Why do we need servlet filter?
What is the life-cycle of servlets?
What do you mean by annotations in servlet?
Is that servlet is pure java object or not?
Elucidate servlet attributes and its scope?
When Servlet is unloaded?
What is servlet and its life cycle?
Explain the custom jsp tags and the beans.
What are different ways for authentication of servlet?
What is servlet collaboration?
Explain servlet events?
What is servlet instance?