I have a doubt about why java developers has declared as
public static final int MAX_PRIORITY
public static final int MIN_PRIORITY
public static final int NORMAL_PRIORITY
instead of declaring public static final byte MAX_PRIORITY
. Because for these variables highest value is 10 only. So I think byte is sufficient int range is higher than byte.
Any specific reason behind this? Could someone please explain this to me?