java.lang.ClassCastException: java.lang.String

Coderanch | Gabriel White | 1 decade 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

    Find min and max in ArrayList

    Coderanch | 1 decade ago | Gabriel White
    java.lang.ClassCastException: java.lang.String

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.String

      at ArrayProcesses.test2()
    2. Unknown
      MyArray.main
      1. ArrayProcesses.test2(ArrayProcesses.java:127)
      2. MyArray.getTest2(MyArray.java:114)
      3. MyArray.main(MyArray.java:126)
      3 frames