A variable can be declared static using the keyword
A variable can be declared static using the keyword static.
To create a static member precedes its declaration with the keyword static. When a member is declared static, it can be accessed before any objects of its class are created, and without reference to any object.
The static keyword denotes that a member variable, or method, can be accessed without requiring an instantiation of the class to which it belongs.