input - How can I fix Exception in thread "main" java.lang. ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0 error in my program below? - Stack Overflow
Javarevisited: 3 Tips to solve and Avoid java.lang. ArrayindexOutOfBoundsException: 1 in Java Programs - Example