Welcome to the ranch. This is a very frequently asked question here at the ranch. What happens when you say new Integer(5)? Can you explain that first?
It has to do with caching of frequently used values. Start here, where you will find about eight links to old posts. If that doesn’t explain it, please ask again.