0

Error getting while converting string into number using hashcode(); function

String s = "ajay"; Int j = s.Hashcode();

25th Apr 2020, 7:45 PM
Ajaytysvh
Ajaytysvh - avatar
2 Réponses
0
Delete this , it's a duplicate!
25th Apr 2020, 7:56 PM
Abhay
Abhay - avatar
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);
25th Apr 2020, 10:11 PM
Avinesh
Avinesh - avatar