单选题:下列对重载函数的描述中,错误的是(  )。

  • 题目分类:C++
  • 题目类型:单选题
  • 查看权限:VIP
题目内容:
下列对重载函数的描述中,错误的是(  )。 A.重载函数中不允许使用默认参数
B.重载函数中编译是根据参数表进行选择的
C.不要使用重载函数来描述毫不相干的函数
D.构造函数重载将会给初始化带来多种方式

参考答案:
答案解析:

如有以下程序: #include(iostream>usingnamespacestd; longfun(intn){i

如有以下程序: #include(iostream>usingnamespacestd; longfun(intn){if(n)2)return(f

查看答案

面向对象的没计方法与传统的面向过程的方法有本质不同,它的基本原理是(  )。

面向对象的没计方法与传统的面向过程的方法有本质不同,它的基本原理是(  )。 A.模拟现实世界中不同事物之间的联系 B.强调模拟现实世界中的算法而不强调概念 C

查看答案

Steven,______very popular with most members,was asked to be

Steven,______very popular with most members,was asked to be the chairman of th

查看答案

We can give you a lift to the post office.We are going that

We can give you a lift to the post office.We are going that way______. A.nearly

查看答案

根据下列材料,请回答题Frank went to Larry Sharp’S to buy a new car.He d

根据下列材料,请回答题Frank went to Larry Sharp’S to buy a new car.He drove there in his o

查看答案