basic search through array
<pre><code>Name = Input.next();

for(int K = 0; K &lt; CurrentCount ; K++) {
  if( ArrayList[K].LastNamePlayer == Name)
    System.out.println(
      "Name " + ArrayList[K].GetName() + ArrayList[K].GetLastName());
</code></pre>

<p>I can access all the values in the array but when I set a condition it returns nothing when it should.</p>
