Java Interview Question

Use this basic question and answer to prepare for your next Java interview.

How many servlet instances are created when multiple requests arrive simultaneously?

Only one Servlet instance is created at the time of the first call in the program. This instance is reused for all further requests even if multiple requests arrive simultaneously.

Looking for developers?