java.lang.ArrayStoreException: java.lang.Integer

Coderanch | Chan Ag | 4 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

    Integer[] and Number[]

    Coderanch | 4 years ago | Chan Ag
    java.lang.ArrayStoreException: java.lang.Integer

    Root Cause Analysis

    1. java.lang.ArrayStoreException

      java.lang.Integer

      at tobedeleted.TestClass.changeFirstElement()
    2. tobedeleted
      TestClass.main
      1. tobedeleted.TestClass.changeFirstElement(TestClass.java:21)
      2. tobedeleted.TestClass.main(TestClass.java:27)
      2 frames