A.which
B.that
C.what
第1题:
有如下程序:
include<iostream>
using namespace std;
class Wages{ //“工资”类
double base; //基本工资
double bonus; //奖金
double tax; //税金
public:
Wages(double CBase,double CBonus,double CTax):
base(CBase),bonus(CBonus),tax(CTax){}
double getPay()const; //返回应付工资额
Wages operator+(Wages w)const; //重载加法
};
double Wages::getPay()const{return base+bonus-tax;}
Wages Wages::operator+(Wages W)const{
return Wages(base+w.base,bonus+w.bonus,tax+w.tax);
}
int main(){
Wages w1(2000,500,100),w2(5000,1000,300);
cout<<(w1+w2).getPay0<<end1;
return 0;
}
程序的输出结果是
第2题:
下列关于CSS重要性的说法中正确的是()
A.!important要写在分号“;”的前面
B.!important要写在相关属性值的前面
C.!important权值为1000
D.!important只能应用与字体样式设置
第3题:
提升选择器样式重要性的代码正确的是()
A..green{ color:green!important; }
B..green{ !important color:green; }
C..green!important{ color:green!important; }
D..green{ color:green; }!important;
第4题:
EBSCO中,检索式 tax N5 reform意味着()。
A.tax 和 reform必须同时出现,且中间不得超过5个单词的距离。
B.tax 和 reform必须同时出现,中间不得超过5个单词的距离,且必须tax在前,reform在后。
C.tax 和 reform必须同时出现,中间不得超过5个单词的距离,且必须reform在前,tax在后。
D.tax 和 reform必须同时出现。
第5题:
下面关于CSS样式优先级,正确的是
A.!important > id > class > tag
B.id> !important > class > tag
C.!important > tag > class > id
D.tag> id > class > !important
第6题:
CSS优先级说法正确的是?
A.!important > id > class > tag
B.!important < id < class < tag
C.!important>class>id>tag
D.!important>tag>id>class