![]() |
VOOZH | about |
public int hashCode()Parameters: The function does not accepts any parameter. Return Value: The function returns the hashCode value of the list. Below programs illustrate the above function: Program 1:
CopyOnWriteArrayList: [32, 67, 98, 100] hashCode value: 1944358
CopyOnWriteArrayList: [gopal, gfg, jgec, sudo] hashCode value: -1942417272