Java tutorial
import java.util.Arrays; public class Main { public static void main(String[] args) { // initializing long array long[] lval = new long[] { 87, 77 }; System.out.println(Arrays.hashCode(lval)); System.out.println(lval.hashCode()); } }