1.

Which of the following is true about servlets?(a) Servlets execute within the address space of web server(b) Servlets are platform-independent because they are written in java(c) Servlets can use the full functionality of the Java class libraries(d) Servlets execute within the address space of web server, platform independent and uses the functionality of java class librariesThe question was asked during an online exam.Question is from Servlet topic in section Java Server Technologies & Servlet of Java

Answer»

Correct option is (d) Servlets execute within the ADDRESS space of web server, platform independent and uses the functionality of JAVA class libraries

Easiest explanation: Servlets execute within the address space of a web server. Since it is written in java it is platform independent. The full functionality is AVAILABLE through libraries.



Discussion

No Comment Found

Related InterviewSolutions