因为我们引入了
sealed
class
interfaces,这些class或者interfaces只允许被指定的类或者interface进行扩展和实现。