Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.util.Arrays;

public class Main {
    public static void main(String[] args) {
        boolean[] a1 = new boolean[] { true, false, true };
        boolean[] a2 = new boolean[] { true, false, true };
        System.out.println(Arrays.equals(a1, a2));
    }
}