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
Why is a constructor needed in a servlet even if we use the init method?
Which interface should be implemented by all servlets?
Difference between java beans & servlets?
What do you mean by web applications?
What is the difference between sendredirect() and forward() in a servlet?
What is the structure of the http response
Is servlet synchronized?
Which HTTP method is non-idempotent?
What is the disadvantage of cookies?
Whether thread can be used in servlets?
Can you refresh servlet in client and server-side automatically?
What are the functions of Servlet container?
What is servlet and its types?
Explain the role of dispatcherservlet and contextloaderlistener.
Which httpsession object is used to view and manipulate information about a session?