Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp

b moon

Greenhorn
+ Follow
since Oct 04, 2000
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by b moon

I was reading some fine print last week on numeric type conversions on assignments which read something along these lines.
"Implicit narrowing primitive conversions on assignment can occur in cases where the source is an int constant expression whose value can be determined to be in the range of the destination type at compile time; the destination type is either byte, short or char type." In your example the assignment of a final would be a constant expression.