Java fixed number of elements in an array
<p>When I create an array in Java - int array[] and array=new int[some number] -</p>

<p>How can I construct it if I don't know how many values it will hold so that I have enough space in it?</p>
