When and when not to use static variables?
Jayesh A Lalwani
posted 3 years ago
Yes, it does matter. You should, a a general rule, avoid things static unless you have a good reason to make them static. If the fields belong to the object, they belong to the object, and that means not static.