Another style is object-oriented programming (OOP). In this style, we group data and functionality as properties and methods inside objects.

Add a property called hungry and a method called eat() to our virtual dog object.

Make sure to pick hungry, followed by eat.