Multiple choice technology programming languages

An applet will run in almost any browser because...

  1. The server has a built-in JVM.

  2. The browser has a built-in JVM.

  3. The source code is interpreted by the browser.

  4. Applets don''t need a JVM.

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

Java applets can run in browsers because browsers include (or used to include) a built-in JVM or Java plugin that can execute Java bytecode. The browser provides the runtime environment needed to execute the applet code securely. Option A is incorrect - the server doesn't run the applet, the client browser does. Option C is wrong - browsers don't interpret Java source code directly. Option D is false - applets require a JVM to execute.