wood burning stoves 2.0
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Session Listeners confusion?" Watch "Session Listeners confusion?" New topic

Session Listeners confusion?

Sunny Jain
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
Sunny Jain
Ranch Hand

Joined: Jul 23, 2007
Posts: 433

any one please confirm this..!
I agree. Here's the link: http://aspose.com/file-tools
subject: Session Listeners confusion?
It's not a secret anymore!