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 emant by API? is it related to java only or it is common for all OOPS supporting language?

3 Answers  


Does collectionutils isempty check for null?

0 Answers  


What is the synonym of string?

0 Answers  


Which package is always imported by default?

0 Answers  


Can we sort hashset in java?

0 Answers  


placement papaers of spring computing technology

0 Answers   Spring Computing Technologies,


What are controls and their different types in awt?

0 Answers  


What are the differences between wait() and sleep()?

0 Answers  


What is a package in java? List down various advantages of packages.

0 Answers  


Explain about assignment statement?

0 Answers  


What is an interface in java? Explain

0 Answers  


What is the independent variable in an experiment?

0 Answers  


Categories