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

Explain about doubly linked list

815


What is the size of boolean variable?

805


What is the purpose of sizeof operator?

736


Where are the local variables stored?

728


How do you compare objects in java?

686


What is %02d?

756


Can we sort hashmap in java?

716


What is array length in java?

711


What is the difference between yield() and sleep()?

747


Is this valid in java ? Can we instantiate interface in java?

738


When does an object becomes eligible for garbage collection in java?

802


Can I declare a class as private?

807


What is final access modifier in java?

811


Can a constructor call another constructor?

754


What are the types of java languages?

717