Java Challenge: While Loop
<blockquote>
  <p>Write a <code>while</code> loop that generates random numbers between 1 and 100 and
  stops looping after it generates the same number twice.</p>
</blockquote>

<p>This challenge taken from chapter 4 <a href="http://rads.stackoverflow.com/amzn/click/0761535225" rel="nofollow">"Java Programming For Absolute Beginners" by Joseph P. Russell.</a></p>

<p>My largest concern is that I can't figure out how to keep initializing an array (if you use arrays here at all) because I don't know the size of an array (if that makes any sense).</p>

<p>I didn't have to much trouble with previous challenges, but seems like this one is out of my league (for now).</p>
