This is one approach that enables the client to determine what member of the class hierarchy it receives, and process the additional information in the subclass accordingly.
英
美
- 这是一种可以使客户端能确定他接收到的是类层次中的什么成员的方法,并相应处理子类中的附加信息。
