这可能会引发对多重基类(multiple base types)的认识需求。如果你不需要向上转型,你可以先衍生新的class发便执行protected访问动作,然后在"需要用到上述protected成员"的所有...
基于12个网页-相关网页
multiple base types
多种碱基类型
以上为机器翻译结果,长、整句建议使用 人工翻译 。
When a class implements an interface that has multiple base interfaces, objects created from that class can be upcast to any of the base interface types.
当一个类实现有多个基接口的接口时,从这个类生成的对象可以上溯到任何一个基接口。
youdao
应用推荐
模块上移
模块下移
不移动