GIAC
GSNA · Question #272
GSNA Question #272: Real Exam Question with Answer & Explanation
Sign in or unlock GSNA to reveal the answer and full explanation for question #272. The question stem and answer options stay visible for context.
Question
You work as a programmer for uCertify.Inc. You have a session object named session1 with an attribute named Attribute1, and an HttpSessionBindingEvent object binding1 bound to session1. Which of the following will be used to retrieve Attribute1?
Options
- AObject obj=binding1.getSession().getAttribute("Attribute1");
- BObject obj=binding1.getAttribute("Attribute1");
- CLong MyAttribute=session1.getAttribute("Attribute1");
- DObject obj=session1.getAttribute("Attribute1");
- EString str1=session1.getAttribute("Attribute1");
Unlock GSNA to see the answer
You've previewed enough free GSNA questions. Unlock GSNA for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.