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.


Correct Option: B

AI Explanation

To answer this question, let's go through each option to understand why it is correct or incorrect:

Option A) A Java application - This option is incorrect because a Java application is typically executed on a server and not sent to the user's computer via HTTP.

Option B) A Java applet - This option is correct because a Java applet is sent to the user's computer via HTTP, invoked using the HTTP protocol, and run on the user's computer as an application.

Option C) A Java servlet - This option is incorrect because a Java servlet is executed on a server and not sent to the user's computer via HTTP.

Option D) None of the above is correct - This option is incorrect because option B, a Java applet, is the correct answer.

The correct answer is B) A Java applet. This option is correct because it 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.

Find more quizzes: