We can spot code that isn't well encapsulated if related methods and properties are in different objects. How can we encapsulate this code?

Move eat() inside the Dog classMake Dog and eat both functions

Move eat() inside the Dog class.