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 |
Difference between get and post in java servlets?
Why servlet is mostly used?
What are the common methods that are included in the http servlet class?
Is it possible to have a constructor inside the servlet?
What are the new features added to servlet 2.5?
What is session?
What do you mean by singlethreadmodel interface?
can i modify the data which are generated by the servlet
What is servlet in tomcat?
Why should we go for interservlet communication?
Explain in brief the directory structure of a web application?
My Question is that i am using <image> tag in my servlet and after compilation after that calling by url in my browser then images are not showing. Sometime images are showing and sometime is not showing. I am using Tomcat to run my servlets. Tell me if there any specification for image in servlets or what is solution for this ??