class QualifierEquality { public void test(int[][] data, int[][] other) { if(data != other) return; if(data[0].length != other[0].length) return; System.out.println("ok"); } public void test2(String[] data, String[] other) { if(data != other) return; String first = data[0]; String otherFirst = other[0]; int len = first.length(); int otherLen = otherFirst.length(); if(len != otherLen) { System.out.println("Impossible"); } System.out.println(data+":"+other+":"+first+":"+otherFirst); } }