الرجوع
تسجيل الدخول
class Player {
    String name;
    Player(String name) {
        this.name = name;
    }
}

public class Game {
    public static void main(String[] args) {
        Player[] team = new Player[5];
        System.out.println(team[0].name);
    }
}

What is the issue with this code?