Do you know that? 16% freelancers are 10+ years as a freeleancer next

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.