Fruit flies in fruit

Is it true that the eggs of fruit flies travel with the fruit and that we eat them? If left to develop they hatch those annoying flies that we notice when our fruit has been sitting around too long.

This was probably not worded well, so I will give it another chance.
Where do fruit flies come from? Do they hatch from eggs already in the fruit when we buy it?

Straight Dope Staff Report: Where do fruit flies come from?