Possible Duplicate:
Converting array to list in Java
I want to convert String
array to ArrayList
. For example String array is like:
String words={"ace","boom","crew","dog","eon"};
How to convert this String array to ArrayList?
I want to convert
How to convert this String array to ArrayList? |
|||||||||
|
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
Use this code for that,
|
|||
|
|
|||
|
|
|||||||||
|
in most cases the
...
|
|||
|
|
|||
|