SyntaxFix
Write A Post
Hire A Developer
Questions
Try this:
List list = new ArrayList(); list.add("Apple"); list.add("Banana"); Object[] ol = list.toArray();