Choose the false statement among these?

  1. Servlets are server side components

  2. Applets have GUI interface

  3. Servlets have GUI interface

  4. Applets are client side components


Correct Option: C

AI Explanation

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

Option A) Servlets are server-side components - This option is correct because servlets are indeed server-side components. They are Java classes that are used to extend the capabilities of a server and generate dynamic web content.

Option B) Applets have GUI interface - This option is correct because applets are Java programs that are designed to be embedded within web pages and run on the client-side. They often have a graphical user interface (GUI) that allows user interaction.

Option C) Servlets have GUI interface - This option is incorrect because servlets do not have a graphical user interface (GUI). They are primarily used for processing requests and generating dynamic content on the server-side, without any direct user interaction.

Option D) Applets are client-side components - This option is correct because applets are indeed client-side components. They are downloaded from a server and run on the client-side, within a web browser or applet viewer.

The correct answer is C. Servlets do not have a GUI interface.

Find more quizzes: