Java 2 dimensional array equals

Java
Arrays.deepEquals(a, b)
Source

Also in Java: