class Game { // открытое поле public String name; public int year; // закрытое поле private String developer;}