java.lang.ClassCastException: Student

Oracle Community | 807541 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    key search

    Oracle Community | 1 decade ago | 807541
    java.lang.ClassCastException: Student

    Root Cause Analysis

    1. java.lang.ClassCastException

      Student

      at FirstNameComp.compare()
    2. Unknown
      FirstNameComp.compare
      1. FirstNameComp.compare(FirstNameComp.java:8)
      1 frame
    3. Java RT
      Arrays.sort
      1. java.util.Arrays.mergeSort(Arrays.java:1149)
      2. java.util.Arrays.sort(Arrays.java:1103)
      2 frames