Which example shows a learned and inherited behavior of a dog?

A. Barking at a stranger and sitting for a treat
B. Barking to communicate and breathing
C. Hibernation and migration
D. Rolling over and fetching a ball