Doubt about arrays

int[] arr=new int[7];
arr=new int[10];
then it’s a static array or dynamic array?