In this case, if the redeclared method has a different parameter signature from its ancestor, it overloads the inherited method without hiding it.

 
  • 这时,如果再声明的方法与其祖先具有不同的参数标记,那么该方法重载了继承得到的方法而没有对其隐藏。
今日热词
目录 附录 查词历史