Home » JAVA Programming » Java Basic » Question
  1. Which of the following is true about servlets?
    1. Servlets can use the full functionality of the Java class libraries
    2. Servlets execute within the address space of web server, platform independent and uses the functionality of java class libraries
    3. Servlets execute within the address space of web server
    4. Servlets are platform-independent because they are written in java
    5. None of these
Correct Option: B

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.



Your comments will be displayed only after manual approval.