Java. How can I check that a two-dimensional array is square?

  • 0
    Hello, a two-dimensional array is passed to the method, I need to check if it is square. I can't figure it out, help me please
    Java Anonymous, Jun 16, 2019

  • 2 Answers
  • 0
    You need to check that all arrays have the same size.
    Carter Russo

  • 0

Your Answer
To place the code, please use CodePen or similar tool. Thanks you!