What is a static variable?
Question : What is a static variable?
Class variables also known as static variables are declared with the static keyword in a class, but outside a method, constructor or a block.