field_access_on_class_identifier.invalid.mj 211 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11
class FieldAccess {
    public int field;

    public static void main(String[] args) {
        new FieldAccess().accessField();
    }

    public void accessField() {
        int i = FieldAccess.field;
    }
}