InterviewSolution
Saved Bookmarks
| 1. |
What are the ways to convert an array of strings to list and list of strings to array of strings? |
Answer»
Arrays class of java.util package contains asList() which helps to convert an array of strings to List. This method bridges between array-based and collection-based APIS. The returned List is serializable and implements RandomAccess
|
|