I think the below is not true!!!
The usage of static variable in a method voilates the contract of static. they are class variables which are initialized on class loading.
but the below is correct
local variables could not have any access type except final
if it is final u cannot reassign the value ???
try using other specifiers(public, private....transient etc and see for results)