11. |
What kind of task can performed after destroy() is executed?
|
||||||||
Answer:
Option (a) |
12. |
Parameters are encrypted in ______ method.
|
||||||||
Answer:
Option (b) |
13. |
Maximum size of data that can be sent using doGet() is?
|
||||||||
Answer:
Option (a) |
14. |
Which exceptions are thrown by init()?
|
||||||||
Answer:
Option (c) |
15. |
______ provides an interface between the container and servlet.
|
||||||||
Answer:
Option (b) |
16. |
______ controls the behaviour of Java Servlet.
|
||||||||
Answer:
Option (d) |
17. |
Which package is required while writing a servlet code?
|
||||||||
Answer:
Option (b) |
18. |
Following are the difference between applet and servlet. Find the true one.
i) Applet executes on browser while servlet executes on webserver. ii) Applets are GUI based while servlets are not. iii) Applets are dynamic in nature while servlets are static in nature. iv) Applets are multithreaded while servlet can handle only one thread at a time.
|
||||||||
Answer:
Option (b) |
19. |
Which of the following code retrieves the body of the request as binary data?
|
||||||||
Answer:
Option (c) |
20. |
Which of the following is true about servlets?
|
||||||||
Answer:
Option (d) |