I am trying to access variable outside an if statement in java. The variable is axeMinDmg. Here is what i have but getting an error. I want minDmg = axeMi
axeMinDmg
minDmg = axeMi
You'll need to define the variable outside of the if statement to be able to use it outside.