Which of the following can override their inherited methods?

Both instances and subclassesOnly instancesOnly subclasses

Both instances and subclasses.