What compiler do not do if we create our own constructor?
Answer Posted / gaurav
Every class have an at least one constructor so if user not
created any constructor then compiler automatically create
default constructor and call its super class. If we create
our own constructor then compiler does not create
constructor for our class.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the GenericServlet class?
Explain the features are in servlet 3?
Once the destroy() method is called by the container, will the servlet be immediately destroyed? What happens to the tasks(threads) that the servlet might be executing at that time?
How to make sure a servlet is loaded at the application startup?
Why is servlet used?
When a client request is sent to the servlet container, how does the container choose which servlet to invoke?
What are the differences between the servletconfig interface and the servletcontext interface?
Write a hello world program using servlets.
Whats the advantages using servlets over using CGI?
Why doesn’t a servlet include main()?
Why is Servlet so popular?
What do you mean by cgi and what are its drawbacks?
What are the new features added to servlet 2.5?
What is string tokenizer?
What is setattribute in servlet?