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 |
Which method is called when reference variable is passed in system.net?
How to handle the debug errors in servlets?
what is the difference between doGet() and doPost()?
How to deal with multi-valued parameters in a servlet?
What are common tasks performed by Servlet Container?
can u give some realtime example in ploymorphism? and inheritance?
What are the life cycle methods of a servlet?
What are the parameters of the service method ?
How can we refresh automatically when new data is entered into the database?
Is tomcat a servlet container?
What is the difference between servlet and jsp?
How will you open a new page after certain interval of time (5 sec), on clicking of a button in an html page?