Could this be done any easier? Java beginner question
<p>I need to create a series of objects, and it just looks plain ugly right now:</p>

<pre><code>CheckBox checkOne = (CheckBox) findViewById(R.id.checkOne);
CheckBox checkTwo = (CheckBox) findViewById(R.id.checkTwo;
CheckBox checkThree = (CheckBox) findViewById(R.id.checkThree);
CheckBox checkFour = (CheckBox) findViewById(R.id.checkFour);
CheckBox checkFive = (CheckBox) findViewById(R.id.checkFive);
</code></pre>

<p>I'm on an intermediate level when it comes to Java, so what I wanted to do was to do a for loop and then use variable variables. Alas, Java does not support this. Is there any, less recursive, way to do this?</p>
