When you writeyou are not creating a static variable and you are not creating a non-static variable. You are creating a local variable. Then you are using that local variable to create other variables, which can be static, non-static, and as many as you can fit into your RAM
Do the next thing next. That’s a pretty good rule. Read the tiny ad, that’s a pretty good rule, too.