Comparing two-dimensional arrays

  • 6
  • Locked
Fix the logic of the main(String[]) method. It should display true if arrayFirst is the same as arraySecond. Otherwise, it should return false.
You can't complete this task, because you're not signed in.
Comments (1)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
Hoist
Level 15 , San Diego, United States
2 September, 01:21
try an Array method -- use a function from the standard library >> Arrays.deepEquals ( array name here , the other array here ) Good resource here: https://www.geeksforgeeks.org/compare-two-arrays-java/