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