Meaningless Drivel is fun!*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 3255
    
    2
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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: why valatile variables can not be final.?
 
Similar Threads
Method Inner Classes &Final Variable
why only final variables can be accesed by local class
final variables in method
Static Final Variables Query
Non-final member variables in interfaces