Here's a problem to solve: Which trait of a pet dog is inherited?

Among the 4 following options, which is the correct answer?

- A: The dog avoids a pet cat.
 
- B: The dog jumps on a sofa.
 
- C: The dog rolls over on command.
 
- D: The dog drools when it smells food.
 