Avakin Life Hack 2024

First of all (and this directly has to do with your question), why did you make the variables static? When you make member variables static, then there's only one copy of the variables that is shared by all instances of the class, instead of that there is a separate copy of the variables for every instance of the class. What static means exactly is explained in more detail in Oracle's Java Tutorials, see the link that Turing85 mentioned in the comments.