1. 176.
    0
    class list {
    // fields
    private object [] items; // store the items in an array
    private int numitems; // the current # of items in the list

    // methods
    // constructor function
    public list()
    {
    items = new object[10];
    numitems = 0;
    }

    // addtoend: add a given item to the end of the list
    public void addtoend(object ob)
    { am züt meme }
    }
    ···
   tümünü göster