SyntaxFix
Write A Post
Hire A Developer
Questions
you have to cast in to array
Arrays.asList((Object[]) array)