SyntaxFix
Write A Post
Hire A Developer
Questions
Use this one:
ArrayList<String> x = new ArrayList(Arrays.asList("abc", "mno"));