Static, Final, and Wrappers
My opinon of two Wednesdays in a week: &!@#%#@&**()!
Using Static and Final
Download the Point and Hello Java classes on the left.
final
This is a property of
variables and not objects. A variable that is marked
final
can only be initialized and can never be
reassigned.
Objects have "no idea" if a variable pointing at them is
final
.
constness - the value pointed at by a variable is not changeable. finality + (primitive || immuability) Math.PI