https://examples.javacodegeeks.com/java-development/core-java/class/you-cannot-have-static-variables-declared-inside-a-method/
You cannot have static variables declared inside a method