"How do you like them apples?", also shortened to, "How do you like them?" or, "Them apples", is a phrase used to gloat or to express bemusement. In both senses, the phrase acts as a rhetorical question. The origin of this idiom is uncertain. The phrase experienced a resurgence after being said by Matt Damon in the 1997 movie Good Will Hunting.

from Wikipedia.