java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [Ljava.lang.String;


Solutions on the web2

Solution icon of coderanch
via Coderanch by Joel Bijapurkar, 1 year ago
[Ljava.lang.Object; cannot be cast to [Ljava.lang.String;

Solution icon of web
via coderanch.com by Unknown author, 1 year ago
[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 GenericsDemo.MyGenericUtilizer.main(MyGenericUtilizer.java:17)

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.