title: How do I loop back to the start of the TRY statement?
body: <p>How do I make it loop back to the start of the FOR loop again? I had try searching the answers. Use of continue don't seems to work for me.</p>
  
  <pre><code>try{
  
      for (int i = 0; i &lt; Array1.length; i++){
          System.out.println("enter Values ");
  
          Scanner input = new Scanner(System.in);
          Array1[i]= input.nextInt();
      }
  }//try
  catch (InputMismatchException e) 
  {
      System.out.println("pls enter integers only ");
  
  }//catch
  </code></pre>
  
  <p>How do I go about continuing the process again? For example</p>
  
  <p>Enter Values 
  5
  enter Values 
  1
  enter Values 
  g
  pls enter integers only ->> error exception is over here</p>
  
  <p>After this error show, how am I able to continue the enter values process without retyping from value 1? </p>