Java ArrayIndexOutOfBoundsException

    Java ArrayIndexOutOfBoundsException

    Java ArrayIndexOutOfBoundsException

    🤔 ArrayIndexOutOfBoundsException 란? 배열의 index가 유효한 범위를 벗어났다는 예외이다. 💻 Exception에 대해 잠깐 설명해보자. 크게 Runtime Exception과 아닌것들로 나뉘게 된다. Runtime Exception은? Unchecked Exception이라고도 부른다. 명시적인 처리를 강제하지 않지 않음. ( try/catch 또는 throws로 선택 처리 ) 실행단계에서 확인이 가능하다. ex) ArrayIndexOutOfBoundsException, IndexOutOfBoundException, NullPointerException ... Checked Exception은? 반드시 예외처리를 해야한다. ( try/catch 또는 throws로 반드시 처..