what’s run error in my code
import java.util.*;
public class Main {
public static void main(String args[]) {
Scanner cin = new Scanner(System.in);
int n = cin.nextInt(), arr[][] = new int[n][n];
for(int i = 0;i<n;i++){
for(int j = 0;j<n;j++){
arr[i][j] = cin.nextInt();
}
}
for(int j = n-1;j>-1;j–){
for(int i = 0;i<n;i++){
System.out.print(arr[i][j]+ " ");
}
System.out.println();
}
}
}