static void guess(String secret, int times) {
// read character from console
Scanner reader = new Scanner(System.in);
int secretLen = secret.length();
int timesCount = 0, index = 0;
...
Type: Posts; User: cloudMichael
static void guess(String secret, int times) {
// read character from console
Scanner reader = new Scanner(System.in);
int secretLen = secret.length();
int timesCount = 0, index = 0;
...
How about just using Collections.reverse(list_parameters)? That saves a lot of your time
The arrayOutofBoundsException means that the capacity of array you wanna store the elements is not big enough. So it is out of bounds. Here is the figuration:
1. you can change the capacity of your...