In the following code, the first component declares two static methods. The second declares two static methods with the same names that replace the methods inherited from the first component.

  • 在以下的代码中,第一个组件声明了两个静态方法。第二个组件声明了两个使用相同名字的静态方法以替换继承自第一个组件的方法。
目录 查词历史