Local variables cannot be static, but they could be final.
Joined: Dec 31, 2004
Static members belong to the class, no to the instance objects. Static members provide services to other classes and are accessed through by of the class to wich they belong. It would not make sense to declare a static variable in the context of a local method because it just could be accessed in the same context.
I think allowing static local variables in methods would have been a good idea. When you need the methods to remember their instance-independent state between calls.
I know, I know... you can still maintain this state information with static class variables but the idea is to have maximum encapsulation possible (if a member variable is only used to keep the state information about a single method, why expose it to the rest of the class).
I'm not too bothered about not having them though.