Hi,
Lately I've developed an interest in game developing and chosen libgdx as my library. So I was collecting resources and reading them. Someone gave me a link to a video (sadly I lost it with many many bookmarks), and the guy used static keyword more than I ever did.
While I was studying his code (typing to my IDE and altering it), I started to think about static keyword.
Static variables, I can understand. If you don't want to create an instance of a class just for a variable, you just make it static. Or if you want a variable to have the same value at any time in everywhere.
But what about static methods?
I went through my old codes (both practice codes and the codes I tried to make a good program) and I realized I almost never used static variables, let alone static methods.
So, why would one decide to use static method? And, what are some cases in which I could use static keyword?