You pass a parameter numOfLines into the instantiator but don't appear to use it. The for loop will never add an item to the array because the value of qty will be initialised to 0 and as i is also...