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

Which are the different ways you can communicate between servlets?

707


What is the life-cycle of servlets?

828


Which interface should be implemented by all servlets?

903


Which httpsession object is used to view and manipulate information about a session?

935


Define the life cycle of a servlets.

770






What are the common methods that are included in the http servlet class?

767


What is httpservlet and how it is different from genericservlet?

789


Who is responsible to create the object of servlet?

898


What is Servlets and explain the advantages of Servlet life cycle?

791


What is the use of java servlet api?

750


What is servlet interface?

918


Describe servlet?

750


What are its drawbacks of cgi?

758


Difference between java beans & servlets?

751


What are all the ways for session tracking?

797