字段

类

class Game {
    // 公有字段
    public String name;
    public int year;

    // 私有字段 
    private String developer;
}