What compiler do not do if we create our own constructor?

Answer Posted / qim2010

The compiler check the java code. If it founds no constructor for the class then JVM automatically creates the default constructor.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define the life cycle of a servlets.

575


Why is servlet used?

686


What do you mean by scope object and what are its types?

570


What are the uses of servlet and what is servlet chaining?

560


Can we override servlet service method?

589






What are all the ways for session tracking?

594


What is the use of request dispatcher interface?

571


What is the difference between sendredirect() and forward() in a servlet?

529


How to get the actual path of servlet in server?

739


What is meant by Servlet? What are the parameters of service method?

600


What is difference between the HTTP Servlet and Generic Servlet? Explain about their methods and parameters?

616


Explain the difference between a web server and a web container?

519


Which interface must be implemented by all servlets?

798


How can we create deadlock situation in servlet?

853


What is the GenericServlet class?

604