单选题:有如下类定义: class Point{int xx.yy; public: Point():xx(0),yy(0){

  • 题目分类:C++
  • 题目类型:单选题
  • 查看权限:VIP
题目内容:
有如下类定义:
class Point
{
int xx.yy;
public:
Point():xx(0),yy(0){}
Point(int x,int Y=0):xx(X),YY(Y){}
};
若执行语句
Point a(2),b[3],幸c[4];
则Point类的构造函数被调用的次数是(  )。 A.2次
B.3次
C.4次
D.5次

参考答案:
答案解析:

Questions ·Read the article below about Assets and Processe

Questions ·Read the article below about Assets and Processes. ·Choose the bes

查看答案

In this part of the test,you are asked to give a short talk

In this part of the test,you are asked to give a short talk on a business topi

查看答案

According to the writer, the liability associated with the

According to the writer, the liability associated with the service means thatA.

查看答案

According to the writer, the retailer engaged in service re

According to the writer, the retailer engaged in service retailingA.just sees t

查看答案

Questions ·Read these sentences below and the transfer agen

Questions ·Read these sentences below and the transfer agency on the opposite

查看答案