且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

error:constructor类Player中的Player不能应用于给定类型;

更新时间:2021-08-29 22:11:46

players[k] 

,并且你的构造函数是期望的String:

is of type Player, and your constructor is expecting String:

public Player(String inputname)