how to make an array in java without length?
<p>I am making an algorithm to save a path of zeroes between 0 1 array 
the length of the path will be variable and so i need an array without predefined length</p>
