Skip to content

Files

Latest commit

 

History

History
10 lines (7 loc) · 145 Bytes

static_fields.md

File metadata and controls

10 lines (7 loc) · 145 Bytes

Static Fields

To have a field be truly global for your program you can mark it as static.

class Count {
    static int value;
}