| Is it possible to declare a Static Variable in a method in Java?
When we say about the static variable in methods, static variables are class level variables and they can not declared inside a method. And we declared that in methods class will not compile. | | |