Can we add default constructor to Servlet?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by inner class in java? Explain

583


Can you declare a private method as static?

692


Is minecraft 1.15 out?

545


Can we nested try statements in java?

618


Define an enumeration?

611






Can a function return a function?

548


Explain different forms of polymorphism?

650


Why string is a class?

545


What are adapter classes?

598


How do you classify Dialog Box?

647


Can a final variable be initialized in constructor?

483


Can an unreferenced object be referenced again?

756


How do you achieve polymorphism in java?

519


What is the difference between a field variable and a local variable?

569


What is variable and example?

515