Multiple choice technology programming languages

service() method - it's advisable to override it in our applications.

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

It is NOT advisable to override the service() method in servlet applications. The service() method handles HTTP request dispatching to appropriate doXXX methods (doGet, doPost, etc.). Instead, override the specific doXXX methods that match your HTTP request types. Overriding service() bypasses this built-in dispatch mechanism.