更多"下面语句正确的是( )。"的相关试题:
[单项选择]下面语句中错误的是
A. ReDim Preserve x(10,Ubound(x,2)+1)
B. ReDim Preserve x(Ubound(x,1)+1,10)
C. ReDim Preserve y(Ubound(y)+1)
D. ReDim y(Ubound(y)+1)
[单项选择]下面语句会产生编译错误的是
A. float F=1024.0F;
B. double D=1024.0;
C. byte B=1024;
D. char C=1024;
[填空题]
下面语句在SwitchA中配置VTP协议和VLAN Trunk端口,请填空。
SwitchA# (8) (进入VLAN配置模式)
SwitchA(vlan)# (9) (设置本交换机为服务器模式)
SwitchA (vlan)# vtp pruning
SwitchA(vlan)# (10) (退出VLAN配置模式)
SwitchA#config terminal
SwitchA(config)# (11) (进入端[]配置模式)
SwitchA(config-if)#switchport mode (12) (设置当前端口为Trunk模式)
SwitchA(config-if)# switchport trunk allowed vlan all
SwitchA(config-if)#exit
SwitchA(config)#exit
(8)处填()。
[单项选择]对于下面语句的说法,不正确的是
Thread thrObj=new Thread( );
A. 系统没有为该线程对象分配资源
B. 只能启动或者终止
C. 创建了一个空的线程对象
D. 可以调用其他方法
[单项选择]下面语句执行后,i的值是______。
public class Test11
public static void main(String[] args)
int i=0;
for( int j=10; j>5&&i<5; j-=3,i+=2 )
i=i+j;
System. out.println (i);
A. 10 B. 9 C. 8 D. 12
[填空题]完成下面语句,对名称为MyOption的选项组的第3个按钮设置标题属性:
ThisForm.MyOption.______="一年级/
[单项选择]对于下面语句,不正确的说法是______。
Thread thrObj=new Thread( );
A. 系统没有为此线程对象分配资源
B. 只能启动或者终止
C. 创建了一个空的线程对象
D. 可以调用其他方法
[单项选择]类MyClass的定义如下,若要对value赋值,则下面语句正确的是( )。
class MyClass
public:
MyClass( )
MyClass(int i) value=new int(i);
int*value;
;
A. MyClass my;my.value=10;
B. MyClass my;*my.value=10;
C. MyClass my;my.*value=10;
D. MyClass my(10);