ProAnswers.org

What happens to a static variable that is defined within a method of a class ?

Can’t do it. You’ll get a compilation error.