The ________ keyword can be used to print multi-dimensional arrays in a deep-to-string manner.

  • deepToString
  • display
  • print
  • toString
In Java, the Arrays.deepToString() method can be used to print multi-dimensional arrays in a deep-to-string manner. This method recursively converts the array into a string representation, including nested arrays, making it useful for debugging and displaying complex data structures.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *