In java programming language we know the return type of hashcode method is int. So there can't be more than 2^31 distinct objects. Is it true? If yes then what will happen if we create more than 2^31 distinct objects?In java programming language we know the return