A、He's big.
B、Medium, maybe a bit on the heavy side.
C、He's tall.
第1题:
请问下述代码中: int operator+(…)起什么作用?this 是什么?ccc 的值最终为多少?
class Fruit
{
public:
Fruit()
{
weight = 2;
}
Fruit(int w)
{
weight = w;
}
int operator+(Fruit f)
{
return this->weight * f.weight;
}
private:
int weight;
};
Fruit aaa;
Fruit bbb(4);
int ccc = aaa + bbb;
第2题:
以下声明可将文本字体加粗的有:()。
A.font-weight:bold
B.font-weight:700
C.font-weight:lighter
D.font-weight:normal
第3题:
1.声明中,可以取消加粗样式的是() A. font-weight:bolder; B. font-weight:bold; C. font-weight:normal; D. font-weight:600;
A.font-weight:normal;
B.font-weight:bold;
C.font-weight:normal;
D.font-weight:600;
第4题:
第5题:
用于定义段落p元素首行文本内容加粗的CSS样式是()。
A.p.first-line { font-weight:bold; }
B.p#first-line { font-weight:bold; }
C.p:first-line { font-weight:bold; }
D.p first-line { font-weight:bold; }
第6题:
声明中,可以取消加粗样式的是()。
A.font-weight:bolder;
B.font-weight:bold;
C.font-weight:normal;
D.font-weight:600;