Content deleted Content added
m I am not a Java programmer so I had to verify this by using Google. To my surprise none of the introduction of final variables that I found mention that final variables. So please douclecheck this |
mNo edit summary |
||
Line 44:
}
Immutability of variables has great advantages, especially in optimization. For instance, Sphere will probably have a function returning its volume; knowing that its radius is constant allows us to [[memoize]] the computed
[[Category:Java programming language]]
|