Arc方式表示以圆弧方式画多义线
Close表示用圆弧来封闭多义线
Width设一的线宽表示多义线的线宽
Halfwidth设定的线宽表示多义线的线宽
第1题:
A、border-left-width:(值)
B、border-top-width:(值)
C、border-left:(值)
D、border-top-width:(值)
第2题:
在程序中用WITHMyForm...ENDWITH修改表单对象的属性再显示该表单,其中“…”所书写的正确代码是______。
A.Width=500 Show
B.MyForrn.Width=500 MyForm.Show
C.Width=500 Show
D.THISForm.Width=500 THlSForm.Show
第3题:
A、Width=500Show
B、MyForm.Width=500MyForm.Show
C、Width=500.Show
D、THISForm.Width=500THISForm.Show
第4题:
下面程序运行时输出结果为【 】。
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;
}
第5题:
以下代码片断中,属于绝对定位的是()。
A、#box{width:100px;height:50px;position:absolute;}
B、#box{width:100px;height:50px;position:static;}
C、#box{width:100px;height:50px;position:relative;}
D、#box{width:100px;height:50px;}
第6题:
在init()函数里得到applet窗口的宽度的语句是( )。
A.int width=this.getY();
B.int width=getSize();
C.int width=getSize().w;
D.int width=getWidth();
第7题:
下面程序运行时输出结果为______。
include<iostream.h>
include
class Rect
{
public:
Rect(int l, int w){length=l; width=w;)
void Print(){cout<<"Area:"<<length*width<<end1;}
void operator delete(void*p){free(p);}
private:
int length, width;
};
void main()
{
Rect *p;
p=new Rect(5, 4);
p->Print();
delete p;
}
第8题:
A.Left和Top
B.Width和Height
C.Left和Height
D.Width和Top
第9题:
What is length (width, depth) of Hold No.1?
第10题:
有以下程序: #include <iostream> using namespace std; class A { private: int x,y; public: void set (int i,int j) { x=i; y=j; } int get_y() { return y; } }; class box { private: int length,width; A label; public: void set(int 1,int w, int s,int p) { length=1; width=w; label.set(s,p); } int get_area() { return length*width; } }; int main() { box small; small.set(2,4,1,35); cout<<small.get_area()<<end1; return 0; } 运行后的输出结果是( )。
A.8
B.4
C.35
D.70