Using a 2D Array in a Class Object - NullPointerException?

these variables have already been declared … you only need to allocate them here.

1 Like