Search:

Type: Posts; User: GregBrannon

Search: Search took 0.11 seconds.

  1. Re: I don't get the concept of how to insert an item into an array; exercise 170

    Yes, insert newItem into the Item[] array at index k, dropping the existing last item from the array, so moving all existing elements past index k up by one. Your interpretation of the part you...
  2. Re: I don't get the concept of how to insert an item into an array; exercise 170

    Can't get my eyes on the book. I'll agree with Norm that it's a misprint for now, but most times that I've been able to see what the poster is reading have resulted in discovering that there is a...
  3. Re: I don't get the concept of how to insert an item into an array; exercise 170

    What book are you using? Give the book, section, problem number, and page this comes from.
  4. Re: I don't get the concept of how to insert an item into an array; exercise 170

    I agree with Norm that we need the error message, but I see that you're repeating old errors that we've covered before. for example, this line in main():

    Item[] array = Item.makeItemArray( );
    ...
Results 1 to 4 of 4