Java Arrays hashCode Float Java Arrays hashCode Double Java Arrays hashCode Int Java Arrays hashCode Float package com.codingdict; import java.util.Arrays; public class ArrayDemo { public static void main(String[] args) { // initializing float array float[] fval = new float[] { 32.1f, 55.4f }; // hashcode for value1 int retval = fval.hashCode(); // printing hash code value System.out.println("The hash code of value1 is: " + retval); // value2 for double array fval = new float[] { 11.2f, 78.4f }; // hashcode for value2 retval = fval.hashCode(); // printing hash code value System.out.println("The hash code of value2 is: " + retval); } } Java Arrays hashCode Double Java Arrays hashCode Int