Online Java Compiler By
JavaTpoint.com
// Example of hashCode(int value) public class IntegerHashCodeExample4 { public static void main(String[] args) { int hashValue = Integer.hashCode(155); System.out.println("Hash code Value for object is: " + hashValue); } }
Output