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)
I got this question in homework.
I need to ask this question from Servlet in portion Java Server Technologies & Servlet of Java