The purpose of static methods and variables in java are to make it easier for a programmer to see what they do and test them. The Java programming language has a concept called access modifiers which specify how other classes, interfaces, or packages can interact with the class. The access modifier is public or private, as well as no modifier at all. Now if you have an interface or package with no access modifier, then it's automatically considered to be public. This allows any part of the code that requires this type of object (i.e., package) to use them without needing an explicit declaration before you create one of those objects on your own.
.png)

