“length;size”,正确的翻译为()。[2006年第一次考试真题]
第1题:
A.length()方法
B.length属性
C.size()方法
D.size属性
第2题:
第3题:
下列能表示字符串s1长度的是
A.s1. length()
B.s1. length
C.s1. size
D.s1. size()
第4题:
哪种方法返回String中的字符数?()
第5题:
“place of origin”,正确的翻译为()。[2007年第一次考试真题]
第6题:
How is the size of chain determined?______.
A.Length of link in inches
B.Diameter of metal in link in inches or centimeters
C.Links per fathom
D.Weight of stud cable in pounds
第7题:
“sample;stamp”,正确的翻译为()。[2006年第一次考试真题]
第8题:
下面程序运行时输出结果为【 】。
include<iostream.h>
include<malloc.h>
class Rect
{
public:
Rect(int1,int w)(length=1;width=w;)
void Print(){cout<<"Area:"<<length *width<<endl;)
void *operator new(size-t size){return malloc(size);}
void operator delete(void *p){free(p)
private:
int length,width;
};
void main()
{
Rect*p;
p=new Rect(5,4);
p->Print();
delete p;
}
第9题:
获取单列集合中元素的个数可以使用以下哪个方法?()
第10题:
已知数组array,其最后一个元素的下标是()?