首先,范围使我们增加了静态类型检查功能。
First of all, the bounds give us added static type checking.
毕竟静态类型检查主要是严格防止那种异常。
After all, the whole point of static type checking is to prevent exactly that sort of exception.
静态类型检查会防止把非string对象传递给这个方法。
Static type checking will prevent non-Strings from being passed to this method.
应用推荐