SyntaxFix
Write A Post
Hire A Developer
Questions
I was having same issue.
String[] arr= new String[] { "A", "B", "C" }; Object obj = arr;
And then passed the obj as varargs argument. It worked.