Please choose the correct answer to the question: Which characteristic is an example of learned behavior?

Answer1: a bear hibernating in the winter Answer2: a spider spinning a web in a tree Answer3: a butterfly migrating to the south Answer4: a dog scratching at a door to go out

Answer format: answer1/answer2/answer3/answer4
Answer: answer4