java.lang.ArrayIndexOutOfBoundsException: 4

Stack Overflow | castial29 | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Data from a txt file and into 2d array but shows arrayindexoutofbound error

    Stack Overflow | 7 months ago | castial29
    java.lang.ArrayIndexOutOfBoundsException: 4

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      4

      at practice.A.readData()
    2. practice
      A.main
      1. practice.A.readData(A.java:48)
      2. practice.A.main(A.java:86)
      2 frames