SyntaxFix
Write A Post
Hire A Developer
Questions
Arrays.asList can help here:
new ArrayList<Integer>(Arrays.asList(1,2,3,5,8,13,21));