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!

Does Java support String as array index?

807589Oct 8 2008 — edited Oct 8 2008
I am looking for a Class which can handle string as its index. For example:
MyClass array[][] = new array[10][10];
array["abc"]["123"]="";
Does Java have such class or Collection?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 5 2008
Added on Oct 8 2008
5 comments
212 views