I want to create a matrix of BigInteger whose dimension is a BigInteger too, but this create a error and I don't know why
BigInteger[][] matA;
BigInteger n;
System.out.println("Ingrese N: ");
n = sc.nextBigInteger();
matA = new BigInteger[n][n];
This is the error of java:
incompatible types: BigInteger cannot be converted to int