Java Web development Interview Questions and Answers

TOP 15+ Java Web development Interview Questions & Answers 1. Can we use the constructor, instead of init(), to initialize servlet? – Yes , of course you can use the constructor instead of init(). There’s nothing to stop you. But you shouldn’t. The original reason for init() was that ancient versions of Java couldn’t dynamically…