What compiler do not do if we create our own constructor?
Answers were Sorted based on User's Feedback
Answer / purnima
the compiler does not create a default constructor if we
create our own constructor
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / 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 |
Answer / 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 |
What is the GenericServlet class?
How do you create connections for number of users, if you want to improve performance?
If my browser does not support cookie, and my server sends a cookie instance what will happen?
What is preinitialization of a servlet?
Can threads be used in Servelet?
What is servlet looping or chaining?
what is the difference between Servlet and JSP?Advantage of JSP over Servelt?Any concept present in JSP which we cant implement in Servlet?
31 Answers ABC, Apere, AZTEC, CTS, CybAge, iFlex, Impact Systems, Sara, TCS,
when the webcontainer creates ServeletConfig,ServletContext objects? befoure creating the Servlet object or not?
What is the difference between doGet and doPost?
What do you mean by singlethreadmodel interface?
What is http servlet? Explain with the help of an example.
What is context in servlet?