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

Is 64bit faster than 32 bit?

0 Answers  


What are selection structures?

0 Answers  


What is lambda in java?

0 Answers  


What carriage return means?

0 Answers  


What is private public protected in java?

0 Answers  






What is local variable and instance variable?

0 Answers  


Why is the singleton pattern considered to be an anti pattern?

0 Answers  


Explain about the security aspect of java?

0 Answers  


Advantages of Inheritance in java.

11 Answers   CybAge, HCL,


explain about method overloading and method overriding with difficult examples

4 Answers  


Hai all I want to print given array in reverse order Ex: int a[]={1,2,3,4,5};display this array in reverse order.

4 Answers  


What will happen when using pass by reference in java?

0 Answers   HCL,


Categories