What do you press to change the object you are holding in Minecraft?

You can use the wheel on your mouse or you can use the number keys, 1 2 3 4 5 6 7 8 9 0.