You are viewing a single comment's thread. Return to all comments →
int is greater than short and byte only. If we take an int variable, that can also be used to store even byte value and also short value bcoze int is bigger than short and byte. like that if we take a long, that can be used to compare with any of byte, short, int.