4 Replies Latest reply on Nov 1, 2007 7:40 PM by 807600

    Determining size of array using Scanner..how?

      the question is:

      The ArrayOpns class needs to have an array of integers and a variable to hold the size of the array. There needs to be a constructor to initialize the array using a size passed in. There should also be a default constructor. In this class, define the following methods:...not important for this.

      How do i do that? i can write the methods no problem, but i'm confused on what i need to do to pass the size into the array, and what to put into the constructor...lol. so basically, i have no clue what i'm doing.