What happens to static variable that is defined within method of class
Answer : Only final variable is permitted inside method and if you define then you will get compile time exception.
Answer : Only final variable is permitted inside method and if you define then you will get compile time exception.