0

How I can print 2d or 3d array without nested loops (I wish use one loop)? Is it possible?

2
  • 1
    possible duplicate? stackoverflow.com/questions/29202242/… Commented Mar 2, 2017 at 21:36
  • You can do it with no loops at all System.out.println(Arrays.deepToString(arr)); Commented Mar 2, 2017 at 21:40

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.