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

Answer Posted / sitaram

JVM compiler check the java code. If you are not created
the constructor for the class. JVM is automatically created
with out parameters constrctor.

Is This Answer Correct ?    16 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which method of the httpservletrequest object is used?

805


What is difference between ServletResponse sendRedirect() and RequestDispatcher forward() method?

851


Explain the war file?

852


Elucidate servlet attributes and its scope?

771


Is java servlet still used?

785


Why servlet is used as controller ? Not JSP? I want complete explation?

909


What do you mean by singlethreadmodel interface?

812


What is a generic servlet?

711


What is called servlet mapping?

763


How does tomcat servlet container work?

840


Can servlet have a constructor ?

819


what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?

790


What do you mean by the servlet chaining?

810


If servlet receives multiple requests, how many objects will it create?

1104


Why the concept of single thread model interface is used?

753