ArrayIndexOutOfBoundsException

    Java:: What happens if try to access an element with an index greater than the size of the array in Java?

    ▩ 배열의 사이즈보다 더 큰 인덱스에 접근시 발생하는 이슈 : Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException ▶ Array An array is a data structure/container/object that stores a fixed-size sequential collection of elements of the same type. The size/length of the array is determined at the time of creation. → 생성시 고정적 사이즈로 생성됨 > 각 요소는 배열의 0번 인덱스부터 순차적으로 쌓여나아간다.(0,1,2....) For example, ▶ Creating an arra..