jQuery in Action, 2nd edition*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes final variable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "final variable" Watch "final variable" New topic

final variable

Armstrong D

Joined: Apr 16, 2002
Posts: 7
Mughal book page no 123 says
" For a final variable of a reference type it means that its reference value cannot be changed, but the state of the object it references may be changed"
am getting confused with this, can anybody explain please,
Thank's in Advance
Marilyn de Queiroz

Joined: Jul 22, 2000
Posts: 9044
Armstrong D

We have requested 3 times that you change your displayed name. Your account is hereby disabled.

"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Marilyn de Queiroz

Joined: Jul 22, 2000
Posts: 9044

[ July 01, 2002: Message edited by: Marilyn deQueiroz ]
It is sorta covered in the JavaRanch Style Guide.
subject: final variable
Similar Threads
final variables can be manipulated ...found this in SCWCD book by Bert!
About synchronized code block.....
can you figure this out?
instanceof Doubt again??
Static and Non-static Methods