Class variables maintain a single shared value for all instances of the class, even if no instance object of that class exists. You would use the static keyword to change an instance variable into a class variable. Both instance and class variables are declared at the class level, not within methods.
Difference between Singleton Pattern vs Static Class in Java
https://study.com/academy/lesson/static-class-in-java-definition-examples.html
https://www.geeksforgeeks.org/static-class-in-java/
https://stackoverflow.com/questions/2765060/why-use-a-singleton-instead-of-static-methods
https://stackoverflow.com/questions/2798485/java-objects-shared-variables
Is Java really passing objects by value? - Stack Overflow
Shallow vs. Deep Copy in Java - DZone Java
How to Modify a String Without Creating a New One | Java Creed
why use static function in java - Google Search
Java Enum Tutorial: 10 Examples of Enum in Java
https://study.com/academy/lesson/static-class-in-java-definition-examples.html
https://www.geeksforgeeks.org/static-class-in-java/
https://stackoverflow.com/questions/2765060/why-use-a-singleton-instead-of-static-methods
https://stackoverflow.com/questions/2798485/java-objects-shared-variables
Is Java really passing objects by value? - Stack Overflow
Shallow vs. Deep Copy in Java - DZone Java
How to Modify a String Without Creating a New One | Java Creed
why use static function in java - Google Search
Java Enum Tutorial: 10 Examples of Enum in Java