Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Session Listeners confusion?

 
Deepak Chopra
Ranch Hand
Posts: 433
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
16337489275
or 16334789257
 
Deepak Chopra
Ranch Hand
Posts: 433
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
any one please confirm this..!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic