+ 4
Does anyone know how to get Arrays.toString to work?
Whenever I use Arrays.toString(int[]) it returns the error of unknown symbol.
1 ответ
+ 2
In Javascript it's pretty much
nameOfArray.toString();
This converts the contents of the array to a string with each item in the array separated by a comma
Note that the toString method doesn't have any arguments.