Java Arrays hashCode Int Java Arrays hashCode Float Java Arrays hashCode Long Java Arrays hashCode Int package com.codingdict; import java.util.Arrays; public class ArrayDemo { public static void main(String[] args) { // initializing int array int[] ival = new int[] { 3, 5 }; // hashcode for value1 int retval = ival.hashCode(); // printing hash code value System.out.println("The hash code of value1 is: " + retval); // value2 for double array ival = new int[] { 19, 75 }; // hashcode for value2 retval = ival.hashCode(); // printing hash code value System.out.println("The hash code of value2 is: " + retval); } } Java Arrays hashCode Float Java Arrays hashCode Long