SyntaxFix
Write A Post
Hire A Developer
Questions
Below code seems nice way of doing this.
new ArrayList<T>(Arrays.asList(myArray));