阅读背景:

不能在Java中初始化2D对象数组

来源:互联网 

I'm trying to make a battleship game, for which I need a 2D array of squares, which are the places that a person can pick. When I run my program however, I get a null pointer exception when I try to call the resetBoard() function.I'm trying to make a battleship game, for which




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: