首页 新闻 赞助 找找看

英语翻译求助...

0
悬赏园豆:20 [已解决问题] 解决于 2008-03-25 20:20
<P>While initialization starts with derived objects and moves down to the base object, the constructors initialize in reverse order, with the base constructor executing first, then the derived constructor.</P> <P>其中的and moves down to the base object应该怎么理解呢?问了好几个人..有的是英语专业的,有的是我们这行,问出来的结果不一样,真头晕了</P> <P>当初始化开始, 一遇到派生对象就降为基对象 &lt;-这个是英语专业给的结果</P> <P>构造函数初始化的时候是先要到基类中去的 &lt;-其中一个同行给的结果<BR></P>
墙头草的主页 墙头草 | 初学一级 | 园豆:6
提问于:2008-03-25 18:34
< >
分享
最佳答案
0
同行是对的,这段话意思是说派生类的初始化,是先执行基类的构造函数,然后再执行派生类的构造函数 moves down to the base object:(执行)先跳到基类中去
丁学 | 专家六级 |园豆:18730 | 2008-03-25 19:23
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册