I don't understand why a static method can't use non-static data. Can anybody explain what the problems are and why we can't do it?
Why can static methods only use static data?
Srikanth nadimpally
- 1.2k
- 3
- 15
- 17