Confusion in array's allocation at runtime

If
int[] arr =new int[7];
arr=new int[10];
in this I have made an array variable arr giving it a size of 7 first and then change the size to 10, as I can change the size of this array , so it’s a static array or dynamic array?