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 Hostile Applets?

0 Answers  


How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters in java programming?

0 Answers  


What is the implementation of destroy method in java. Is it native or java code?

0 Answers  


Which browsers work with java?

0 Answers  


how to print a numbers from 1 to 100 with out using control structures?

4 Answers   IBM,






What are exception handling keywords in java?

0 Answers  


What is a line separator in java?

0 Answers  


can rmi and corba based applications interact ?

0 Answers  


How HashMap implemented in java? how it internally works when values are added or searched from hashMap?What is the difference betweenthe implementation of hashmap and Linked Hashmap?

3 Answers   IBM,


How use .contains in java?

0 Answers  


Write a program to find the greatest of three numbers in java?

0 Answers  


What are the data types supported by java?

0 Answers  


Categories