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) {
        String[] abc = { "a", "b", "c", "d" };
        String[] xyz = { "A", "b", "c", "s" };
        String[] java = { "Java", "Dot", "Com" };

        System.out.println(Arrays.equals(abc, xyz));
        System.out.println(Arrays.equals(abc, java));
    }
}