READ Free Dumps For Oracle- 1z0-899
Question ID 4723 | Which of following annotations can be used in a servlet class? |
Option A | A. (v) only |
Option B | B. (i) and (v) |
Option C | C. (i), (ii), (iii) and (v) |
Option D | D. (i), (ii), (iv) and (v) |
Option E | E. (i), (ii), (iii), (iv) and (v) |
Correct Answer | B |
Question ID 4724 | When using the @WebListener annotation, the class on which the annotation is applied to must also implement at least one o the following interfaces – (Choose two): |
Option A | A. RequestListener |
Option B | B. AttributeListener |
Option C | C. ServletContextListener |
Option D | D. HttpSessionListener |
Option E | E. SessionAttributeListener |
Option F | F. AsyncListener |
Correct Answer | C,D |