Which of the following can override their inherited methods?
Both instances and subclasses
Only instances
Only subclasses
Neither instances nor subclasses
Both instances and subclasses.