title: Why there is no local static variable in Java?
body: <p>In C/C++ we use static local variables for maintaining a method's state. But why it is not supported in Java?</p>
  
  <p>Yes, I can use an static field for this purpose. But isn't it a bit weird to create a field for maintaining only one method's state?</p>