File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Session Listeners confusion? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Session Listeners confusion?" Watch "Session Listeners confusion?" New topic

Session Listeners confusion?

Deepak Chopra
Ranch Hand

Joined: Jul 23, 2007
Posts: 433

Please help me to understand the answer of this question.
Source of question: Self created for understanding.
This is the piece of code in Servlet:

This is the code of SessionTest class:

What will be the output ??
I think answer should be
or 16334789257

Thanks and Regards,
SCJP 1.5 (90%), SCWCD 1.5 (85%), The Jovial Java, java.util.concurrent tutorial
Deepak Chopra
Ranch Hand

Joined: Jul 23, 2007
Posts: 433

any one please confirm this..!
I agree. Here's the link:
subject: Session Listeners confusion?
It's not a secret anymore!