File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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: 9043
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: 9043

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