Which of these is an example of a hereditary risk factor?

A. smoking

B. eating junk food every day

C. being a couch potato

D. having fair skin that is prone to sunburn

D. having fair skin that is prone to sunburn