You are viewing a single comment's thread. Return to all comments →
hey kucao,why did you converted the int number to long?what is the need of doing that?please reply.
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.