Java tutorial
import java.util.Arrays; public class Main { public static void main(String[] argv) throws Exception { boolean[] bArr1 = null; boolean[] bArr2 = null; boolean b = Arrays.equals(bArr1, bArr2); // true } }