题目:写出下列程序的输出结果。#includeclass AA{public : AA{}{cout<<"ConstructorofAA.
";fun( );} virtual void fun( ){cout<<"AA::fun( )is called.
";}};class BB:public AA{public :BB( ){cout<<"Constructor of BB.
"; fun( );}void fun( ){cout<<"BB::fun( )is called.
";}};void main( ){BB d;}
答案:
<查看本题扣3积分>
答:ConstructorofAA.
..... 查看答案
问题答案不对?抱歉,搜索引擎优化导致页面变化,请尝试站内搜索,远程教育试题库