title: Java - Slice any array at steps
body: <p>In python we are able to do the following: </p>
  
  <pre><code> array = [0,1,2,3,4,5,6,7,8,9,10]
   new_array= array[::3]
   print(new_array)
  &gt;&gt;&gt;[0,3,6,9]
  </code></pre>
  
  <p>Is there an equivalent to this in Java? I have been looking for this type of array slicing, but I have had no luck. Any help would be great, Thanks!</p>