PrepAway - Latest Free Exam Questions & Answers

Which statement is true about disconnecting the session within "ourMethod"?

Given the following code: Which statement is true about disconnecting the session within
“ourMethod”?

PrepAway - Latest Free Exam Questions & Answers

A.
It is safe to disconnect this session, because a session will always be passed to
“ourMethod.”

B.
It is not safe to disconnect this session, because the calling code may still require it.

C.
It is safe to disconnect this session within “ourMethod” only if the session is not null.

D.
It is not possible for “ourMethod” to disconnect the session, because there is no reference to a
SessionManager.


Leave a Reply