how can i store multiple strings in single array element in java? The strings may be added or deleted dynamically. So, the array has to be flexible. I mean, if there is an array a[], then:
a[1] should be able to accommodate "String1", "String2", ....
a[2] should be able to accommodate "String3", "String4", ....
These strings may be deleted at any time and additional strings can be added any time. What java component supports this kind of functionality? I am new to java and weak at basics. Hope u can help. Thanks !
Map<String, List<String>>