Monday, 30 September 2013

Scop of object in java

Scop of object in java

I am new to Java and started exploring it a little bit. I know this is
silly question but i did not find any supporting blog or article on net
which will clarify my doubt.
I want to know the scope of Java object. Consider a scenario: Suppose i am
accessing a page in browser say "index" which is using object X with some
value it it and if i refresh the page can i get the previous value of
object X?
If yes, how does it holds? because it all together a different request and
how does it recognize that it is the same request?
Thanks in Advance

No comments:

Post a Comment