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) {

        Object[] ob = { "java2s", "java2s.com" };

        // deephashcode for object ob
        int retval = Arrays.deepHashCode(ob);

        System.out.println("The Hash Code of ob is:" + retval);
    }
}