类在实现接口的方法时,必须显示地使用public修饰符。
出自:计算机科学