Your application requires a new function, to do something different from existing functions, and it makes sense for that function to behave differently for different classes of objects.
英
美
- 在实际应用中需要一个新的函数来执行与已有函数不同的功能,并且它能要根据不同的对象类型执行不同的功能。