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 |
Hi Frieds, I am new to servlet why to use servlet in webapplication. what i know is " use servlet as a controller in mvc and to implemnent business logic . is it correct ? One more thing reason for implementing business logic with servlets , why not jsp.
What is Difference between JavaBeans and taglib directives?
What are its drawbacks of cgi?
Differentiate between get and post?
Explain session tracking and its importance?
Whats the advantages using servlets over using CGI?
What is the difference between jsp and servlet life cycle?
What is the difference between doGet and doPost?
Given the request path below, which are context path, servlet path and path info? /bookstore/education/index.html
What is the life cycle of a servlet?
What are different ways for servlet authentication?
What is session variable in servlets?