If you have an object leo of type Lion, derived from type Cat, you can evaluate leo.Claws and get the correct value for an object of type Lion.

 
  • 如果具有从类型Cat派生的Lion类型的对象leo;则可为类型Lion的对象计算leo.;Claws并获得正确的值。
今日热词
目录 附录 查词历史