Kunal Gupta
Kunal's { Blog }

Kunal's { Blog }

How to print 2D and 3D array.

Photo by Pawel Czerwinski on Unsplash

How to print 2D and 3D array.

Kunal Gupta's photo
Kunal Gupta
·May 9, 2022·

1 min read

  • Its to simple if you are thinking that you can print with the help of Arrays.toString method you're right but there is a catch it shows Screenshot 2022-05-09 at 3.57.01 PM.png

-As in picture you see the location or path of that array , So how you can print it let me show you

  • Use Arrays.deepToString method to print Screenshot 2022-05-09 at 3.58.28 PM.png
 
Share this