What did Batman do when he went shopping?
Got ham!
This is a play on words. It sounds like "Gotham," which is the city where Batman lives. It's a pretty silly pun.