Does an apple really keep the doctor away?

Jake came rushing in to see his Dad. "Dad!" he puffed, "Is it true that an apple a day keeps the doctor away?"  "That's what they say," said his Dad. "Well, give me an apple quick! I've just broken the doctor's window!"