class variable

Class variable is a variable tied to the class itself, and its value is shared across all class objects.
A class variable is declared similarly as an instance variable, the difference is that class variable is declared using the static keyword.
* In C++, class variable need explicit initialization but in Java there is a default value.
* In C#, class variable cannot be accessed by object reference.