In simple words, they are class-level members. There is no need to create an object of static class. Static methods are not allowed to access the class-level variables. Only static methods can access the static variables. We can also initialize the value to the static variables in the static blocks.