Each subclass would have to have the specific implementation for the operation. However, the users of the Pet class would not have to deal with the details and would not need to know what type of Pet is currently being handled.