How do you decide which integer type to use? If you might need large values (tens of thousands), use long. Otherwise, if space is very important, use short. Otherwise, use int.