SyntaxFix
Write A Post
Hire A Developer
Questions
The toString method on an array only prints out the memory address, which you are getting. You have to loop though the array and print out each item by itself
for(int i : array) { System.println(i); }