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

Can we use catch statement for checked exceptions?

0 Answers  


What methodology can be utilized to link to a database?

0 Answers  


Difference between arraylist and vector.

0 Answers  


How do I stop concurrentmodificationexception?

0 Answers  


Is finalize() similar to a destructor?

0 Answers  


what is collatration?

0 Answers  


program to find 25 square = 625 here the 625 of last two digits is equal to 25, i don't know excatly what this type of number is called

1 Answers   Huawei,


Explain thread life cycle in java?

0 Answers  


Can a constructor be made final?

0 Answers  


What are java packages? What's the significance of packages?

0 Answers  


Define a package.

0 Answers  


What is broken and continue statement?

0 Answers  


Categories