Web-Technologies
September 7, 2024
Web-Technologies
September 7, 2024
Web-Technologies
September 7, 2024
Web-Technologies
September 7, 2024

Web-Technologies

Question 13
Which of the following statement(s) is/are TRUE regarding Java Servlets ?
(a) A Java Servlet is a server-side component that runs on the web server and extends the capabilities of a server.
(b) A Servlet can use the user interface classes like AWT or Swing.
A
Only (a) is TRUE.
B
Only (b) is TRUE.
C
Both (a) and (b) are TRUE.
D
Neither (a) nor (b) is TRUE.
Question 13 Explanation: 
TRUE: A Java Servlet is a server-side component that runs on the web server and extends the capabilities of a server.
FALSE: A Servlet can not use the user interface classes like AWT or Swing.
→ Servlets can respond to any types of requests, they most commonly implement web containers for hosting web applications on web servers and thus qualify as a server-side servlet web API.
Correct Answer: A
Question 13 Explanation: 
TRUE: A Java Servlet is a server-side component that runs on the web server and extends the capabilities of a server.
FALSE: A Servlet can not use the user interface classes like AWT or Swing.
→ Servlets can respond to any types of requests, they most commonly implement web containers for hosting web applications on web servers and thus qualify as a server-side servlet web API.

Leave a Reply

Your email address will not be published. Required fields are marked *