Any dog can do obedience. Some may be better than others but all can learn. I would enroll the pup into classes as soon as possible though.
And Breanne is right, obedience should be taught first, so they learn their manners & the such. Also obedience will teach the dog many other htings needed for the agility course. And most of all, once a dog experiences agility, obedience is usually no longer fun for them so they often do not do well if they do agility first.
Bookmarks