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