我们将能够与匿名实现类共同使用钻石操作符(diamond operator)
在java8中如下的操作是会报错的:
编译报错信息:'<>' cannot be used with anonymous classes