The code I've added for this task is:
Snake Class - line 39
SnakeGame Class - lines 38-44
package com.codegym.games.snake;
import com.codegym.engine.cell.Color;
import com.codegym.engine.cell.*;
public class Apple extends GameObject {
private static final String APPLE_SIGN = "\uD83C\uDF4E";
public boolean isAlive = true;
public Apple(int x, int y) {
super(x, y);
}
public void draw(Game game){
game.setCellValueEx(x, y, Color.NONE, APPLE_SIGN, Color.RED, 75);
}
}