What compiler do not do if we create our own constructor?

Answers were Sorted based on User's Feedback



What compiler do not do if we create our own constructor?..

Answer / sitaram

JVM compiler check the java code. If you are not created
the constructor for the class. JVM is automatically created
with out parameters constrctor.

Is This Answer Correct ?    16 Yes 1 No

What compiler do not do if we create our own constructor?..

Answer / purnima

the compiler does not create a default constructor if we
create our own constructor

Is This Answer Correct ?    4 Yes 0 No

What compiler do not do if we create our own constructor?..

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

What compiler do not do if we create our own constructor?..

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 compiler do not do if we create our own constructor?..

Answer / hitler

The compiler will not default construtctor

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More Servlets Interview Questions

what is OOAS

2 Answers   iGate,


What is the difference between genericservlet and httpservlet

0 Answers  


What is http servlet? Explain with the help of an example.

0 Answers  


Explain how to improve Servlet Performance?

0 Answers   BirlaSoft,


what is the difference between ServletContext and ServletConfig

7 Answers  


Hi guys.. Well can u tell me that why there is need of "init()" , i mean why can not we initialize the servlet object with the help of constructors? Thank you.

7 Answers  


What is the default http method in the servlet?

0 Answers  


What is life cycle of Servlet?

0 Answers  


What is called servlet mapping?

0 Answers  


What is lazy loading and what is Generic Servlet Class?

0 Answers  


What is the process for chaining servlet?

0 Answers  


Why doesn’t a servlet include main()?

0 Answers  


Categories