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
When should you prefer to use doget() over dopost()?
How does java thread pool work?
Difference between java beans & servlets?
What is the major difference between context parameter and context attribute?
When a servlet accepts a call from a client, it receives two objects. What are they?
Which java framework is most popular?
What mechanisms are used by a Servlet Container to maintain session information?
How the servlet is loaded?
What is servlet api used for conneting database?
The code in a finally clause will never fail to execute, right?
Why is init() method is used in servlets?
If servlet receives multiple requests, how many objects will it create?
How do you configure a centralized error handler in servlets?
What is new in ServletRequest interface ? (Servlet 2.4)
What is called Session Tracking?