Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

converting String to List

807569Jun 22 2006 — edited Jun 22 2006
I want to convet the String to a List. But I get an error can not cast String to List.

Help???
String str = "Y";
List myList = (List) str;
Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 20 2006
Added on Jun 22 2006
5 comments
395 views