Doubt about array's resizing

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?