Which of the following is not a part of the built-in security of the JVM?

2022

Which of the following is not a part of the built-in security of the JVM?

  1. A.

    Class loaders

  2. B.

    Servlets

  3. C.

    Byte code verifier

  4. D.

    Security manager

Attempted by 362 students.

Show answer & explanation

Correct answer: B

JVM’s built-in security components include: Class Loader → controls how classes are loaded & prevents unauthorized loading

Bytecode Verifier → checks correctness & prevents malicious code

Security Manager → enforces runtime permissions (file access, network access, etc.)

Servlets , however, are not part of the JVM security model. Servlets are part of Java EE (server-side web technology) and run on a servlet container, not inside JVM’s core security architecture.

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Up Lt Grade Assistant Teacher 2025