+ 1

Hi folks, I always wonder if there is a simple way in java to print all the element of an array.

I can write some code which iterates over each array of the array but i am looking for something "simpler". addtional question what is the meaning of the value when I type printlf(myArr) thanks

22nd Jun 2018, 4:18 PM
Dot
Dot - avatar
3 odpowiedzi
+ 1
Use nested loop
22nd Jun 2018, 4:55 PM
Lstiti
0
thanks, but if my array is multidimensional it does not work :(. Or maybe I have missed something.
22nd Jun 2018, 4:52 PM
Dot
Dot - avatar
0
okay thanks
22nd Jun 2018, 5:03 PM
Dot
Dot - avatar