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 |
can servlet have instance variables?
What is the difference between servlet config and servlet context.
19 Answers TCS, Tech Mahindra, Vertex,
Explain the servlet context.
What is the difference between the servlets and cgi programs?
What are the features added in Servlet 2.5?
What are different types of SessionTracking?
What is servlet in tomcat?
What is the major difference between servlet and applet?
What is Request Dispatcher?
Which HTTP method is non-idempotent?
What is the difference between portlet and servlet?
Can we use javascript in Servlets?