when I use println to print the content of an Array in Scala I received some strange results. I know how fix this in java. but the solution in java gives me an error in scala. the output of println is something like:
List([I@5ec77191, [I@4642b71d, [I@1450078a)