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 use of parseQueryString?

1 Answers  


How can we perform any action at the time of deploying the project?

0 Answers  


can servlet have instance variables?

8 Answers   Syscon, Wipro,


What are the types of servlets? Explain

0 Answers  


How do cookies work in servlets?

0 Answers  






what is session tracking?what are types of session tracking ?and when to cookies,when to use sessionmanagement,whent use url rewriting technique,plz explain briefly?

6 Answers   Satyam, TCS,


What do you mean by mime type?

0 Answers  


Can you create a deadlock condition on a servlet?

0 Answers  


Explain the servlet filter.

0 Answers  


How to invoke a Servlet?

2 Answers   Mastek,


how to pass parameter from servlet to html form

4 Answers  


how do you maintain sessions in servlets?

5 Answers   AZTEC, L Cube,


Categories