When there is a requirement to share a method or a variable between multiple objects of a class instead
of creating separate copies for each object, we use static keyword to make a method or variable shared for all objects.
Static variable: Static variables are also known as Class variables.