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 are measurable parameters?

0 Answers  


what is a green thread? : Java thread

0 Answers  


Java.util.regex consists of which classes?

0 Answers  


What is string data?

0 Answers  


How does system arraycopy work in java?

0 Answers  






What is autoboxing in java?

0 Answers  


What are the advantages and disadvantages of object cloning?

0 Answers  


What are "methods" and "fields"?

0 Answers   Wipro,


How is Object Oriented Programming different from Procedure Oriented Programming?

0 Answers   Amdocs,


Can we define private and protected modifiers for variables in interfaces?

0 Answers  


How to change the priority of thread or how to set the priority of thread?

0 Answers  


What is java full form?

0 Answers  


Categories