How do I create a system of arrays that get the user input?
<p>So I am creating an invoice generator, and I need the user to first say how many items they will input and then ask for item description(string), amount(int), and price(int). I was having trouble creating arrays for these infos. So far, I only created methods for them like here: </p>

<pre><code>public static int itemDescription(){
  Scanner input=new Scanner(System.in);
  String descr = input.nextInt();    
  return(descr);
}  

public static int quantitySold(){
  Scanner input=new Scanner(System.in);
  int quansold = input.nextInt();    
  return(quansold);
 }

public static int unitPrice(){
  Scanner input=new Scanner(System.in);
  System.out.println("Unit Price:");                
  int price = input.nextInt();
  return(price);
 }
</code></pre>

<p>But if the user has more than one items to input, then I will need to use arrays as these will not be able to store more than one piece of data. 
(I made them separate methods because I will need the info separately later to calculate certain taxes on them.)</p>

<p>How could I turn those input functions into arrays?</p>

<p>Thank you in advance</p>