Consider the following method: static void nPrint(String a, int n) { System.out.println(a.charAt(n)); } What potential error could this method cause? Logic Error Run time error - index out of range Compile time error - index out of range Run time error - incompatible types Compile time error - incompatible types