The reason that the derived class may not add to the specfication list is users of the hierarchy should be able to write code that depends on the specification list.

 
  • 派生类不能在异常说明列表中增加异常,原因在于,继承层次的用户应该能够编写依赖于该说明列表的代码。
今日热词
目录 附录 查词历史