java – How to handle array:Exception in thread “main” java.lang.ArrayIndexOutOfBoundsException: 3 by IT Nursery java – How to handle array:Exception in thread “main” java.lang.ArrayIndexOutOfBoundsException: 3