Delete an element in Array Java
<p>I have an Arrays (size=5) like this</p>

<p><code>int[] arr = {1,2,3,4,5};</code></p>

<p>How I can delete 4 and than finally (size=4) like this </p>

<p><code>int[] arr = {1,2,3,5}</code></p>