title: How to read and use the String array using scanner class or other in java
body: <p>How to read and use the String array using scanner class or other in java </p>
  
  <p>i could read the String into array like that below</p>
  
  <pre><code>arr[0]="apple";
  arr[1]="mango";
  arr[2]="banana";
  .
  .
  .
  </code></pre>
  
  <p>and soon</p>
  
  <p>but in by using scanner class how it possible pls tell me</p>
  
  <p>and any help full "for each" in java String arrays...</p>