Multiple choice

What is sent to the user via HTTP, invoked using the HTTP protocol on the user's computer, and run on the user's computer as an application?

  1. A Java application

  2. A Java applet

  3. A Java servlet

  4. None of the above is correct

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

A Java applet is a small application designed to run in a web browser. It is sent to the user via HTTP, invoked on the user's computer using the HTTP protocol, and executes as an application within the browser's JVM. A Java application runs standalone, not via HTTP. A Java servlet runs on the server side, not the client side.