Multiple choice technology programming languages

Which element guarantees a servlet will be loaded on the start up of the web application

  1. <load-on-startup>true</load-on-startup>

  2. <load-on-startup>1</load-on-startup>

  3. <load-on-startup>0</load-on-startup>

  4. <load-on-startup/>

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

The `` element specifies that a servlet should be loaded and initialized when the servlet container starts. A positive integer (like 1) specifies the load order. Non-numeric values (like 'true') or 0 are not standard or carry different specifications.