Can we add default constructor to Servlet?



Can we add default constructor to Servlet?..

Answer / balbir

yes,we can. by the way java implicitly create a constructor
if we not passing any constructor.

Is This Answer Correct ?    10 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is autoboxing and unboxing?

0 Answers  


What are keywords in java?

0 Answers  


Explain the difference between the Boolean & operator and the && operator?

1 Answers  


What is the syntax and characteristics of a lambda expression?

0 Answers  


if a java file without any source code is valid java file?

3 Answers   SparkTG,


What is java lang object?

0 Answers  


Write java program to reverse string without using api?

0 Answers  


what is meant by multicast?

1 Answers  


Is class forname reflection?

0 Answers  


Can we sort list in java?

0 Answers  


what is polymorphism with example?types of polymorphism?

15 Answers   HP, Sigma Solve,


Why is whitespace important?

0 Answers  


Categories