aspose file tools
The moose likes Java in General and the fly likes modifiers Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "modifiers" Watch "modifiers" New topic
Author

modifiers

rajesh ramalingam
Greenhorn

Joined: Dec 15, 2002
Posts: 1
Why cannot a variable be final and volatile?
David Weitzman
Ranch Hand

Joined: Jul 27, 2001
Posts: 1365
volatile specifies some subtleties about the order of modifying and accessing a field in multithreaded environments, but since a final field never changes value the access order doesn't really matter.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: modifiers