Q.

Which of the following code is used to get an attribute in a HTTP Session object in servlets?

A. session.getAttribute(String name)
B. session.alterAttribute(String name)
C. session.updateAttribute(String name)
D. session.setAttribute(String name)
Answer» A. session.getAttribute(String name)
1k
0
Do you find this helpful?
4

View all MCQs in

Advanced JAVA

Discussion

No comments yet