aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes why valatile variables can not be final.? 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 "why valatile variables can not be final.?" Watch "why valatile variables can not be final.?" New topic
Author

why valatile variables can not be final.?

Prashant Neginahal
Ranch Hand

Joined: Dec 04, 2002
Posts: 76
Hi ALL,
why valatile variables can not be final.?


--------------<br />Prashant<br />SCJP-91%
Paul Anilprem
Enthuware Software Support
Ranch Hand

Joined: Sep 23, 2000
Posts: 3314
    
    8
Volatile and final are completely orthogonal properties. Volatile means the variable value is volatile (exteremly changeable) while final means it value will never change.
HTH,
Paul.


Enthuware - Best Mock Exams and Questions for Oracle/Sun Java Certifications
Quality Guaranteed - Pass or Full Refund!
 
jQuery in Action, 2nd edition
 
subject: why valatile variables can not be final.?