How to use setters and getters with an object that have and array?

后端 未结 0 1958
暗喜
暗喜 2021-01-27 07:46

This is Main.java

    Scanner sc = new Scanner(System.in);
    Player player[] = new Player[5];
    String name;
    int numPlayer = 0;
    while(numPlayer < 5         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题