java.lang.ArrayIndexOutOfBoundsException: 1

Coderanch | Kd Martin | 5 years 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

    Creating array of objects from user input and saving to a file

    Coderanch | 5 years ago | Kd Martin
    java.lang.ArrayIndexOutOfBoundsException: 1

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      1

      at Student.setNames()
    2. Unknown
      TestStudent.main
      1. Student.setNames(Student.java:23)
      2. TestStudent.main(TestStudent.java:21)
      2 frames