Why can't I add an object to this array?

前端 未结 0 1465
北荒
北荒 2020-12-05 09:52

public class GroceryList {

    //variables
    private int count;
    private Item list[];
    public final int MAX = 30;

    //default
    public GroceryList(){
         


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