Objects can have methods
In a previous lesson, we learned that an object can have properties.
Similarly, objects can also have methods.
And methods are nothing but actions that can be performed on objects.
For example, if we take the car as an object, one of the actions we can perform on a car