java.lang.ClassCastException: [Ljava.lang.Object;

Coderanch | Aruna Agrawal | 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

    how to typecast arrays of Objects into array of specialized objects

    Coderanch | 1 decade ago | Aruna Agrawal
    java.lang.ClassCastException: [Ljava.lang.Object;

    Root Cause Analysis

    1. java.lang.ClassCastException

      [Ljava.lang.Object;

      at ArrayTypeCasting.main()
    2. Unknown
      ArrayTypeCasting.main
      1. ArrayTypeCasting.main(ArrayTypeCasting.java:23)
      1 frame