java.lang.ClassCastException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Generics and Comparable
    via by Krep Lock,
  • Generics and Comparable
    via by Istvan Kovacs,
    • java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [Ljava.lang.Comparable; at MyListADT.<init>(MyListADT.java:39) at MyArrayList.<init>(MyArrayList.java:12) at TestProg.main(TestProg.java:11)
    No Bugmate found.