title: Comparing Two Arrays & Get the Percent that Match - Java
body: <p>Background: Very new at Java, have little understanding. Would prefer a "point in the right direction" with explanation, if possible, than a copy/paste answer without explanation. If I want to stop being a novice, I need to learn! :)</p>
  
  <p>Anyway, my goal is, as simply as possible, to be given 2 arrays numberList and winningNumbers, compare them, and return the percentage that numberList matches winningNumbers. Both array lengths will always be 10.</p>
  
  <p>I have no idea where to start. I have been googling and going at this for 2 hours. My idea is to write a for loop that compares each individually integer in a string to one in the other, but I am not sure how to do that, or if there is a simpler method. I have little knowledge of arrays, and the more I google the more confused I become.</p>
  
  <p>So far the only thing I have is </p>
  
  <pre><code>public double getPercentThatMatch(int[] winningNumbers) {}
  </code></pre>
  
  <p>numberList is preset.</p>