0
Error getting while converting string into number using hashcode(); function
String s = "ajay"; Int j = s.Hashcode();
2 Answers
0
Delete this , it's a duplicate!
0
Hash code of an object is nothing but a 32 bit signed integer value and it is unique for every object.
Copy paste this in the code playground-
String s = "hello";
int x = s.hashCode();
System.out.print(x);