Declaration

To declare a field as static, add the static keyword to its declaration.

class Count {
    static int value;
}