java.lang.ClassCastException

[Ljava.lang.Object; cannot be cast to [Ljava.lang.String;

Solutions on the web19121

  • via GitHub by kamenik
    , 3 weeks ago
    [Ljava.lang.Object; cannot be cast to [Ljava.lang.String;
  • [Ljava.lang.Object; cannot be cast to [Ljava.lang.String;
  • [Ljava.lang.Object; cannot be cast to [Ljava.lang.String;
  • Stack trace

    • java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [Ljava.lang.String; at casts.ArrayTest.main(ArrayTest.java:18)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.