网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
switch (i) { default: System.out.printIn(“Hello”); ) What are the two acceptable types for the variable i?()
- A、 Char
- B、 Byte
- C、 Float
- D、 Double
- E、 Object
参考答案
更多 “ switch (i) { default: System.out.printIn(“Hello”); ) What are the two acceptable types for the variable i?() A、 CharB、 ByteC、 FloatD、 DoubleE、 Object” 相关考题
考题
有以下程序#include stdio.hmain(){ int a[ ]={2,3,5,4},i;for(i=0;i4;i++)switch(i%2){ case 0:switch(a[i]%2){case 0:a[i]++;break;case 1:a[i]--;}break;case 1:a[i ] =0;}for(i=0;i4;i++) printf("%d",a[i]); printf("\n");}程序运行后的输出结果是A)3 3 4 4B)2 0 5 0C)3 0 4 0D)0 3 0 4
考题
下面的标记组中,作用相同的有()。
A.〈en〉〈/en〉和〈I〉〈/I〉B.全部都是C.〈I〉〈/I〉和〈Cite〉〈/Cite〉D.〈strong〉〈/strong〉和〈B〉〈/B〉E.〈p〉和〈Br〉
考题
有以下程序 main( ) { int i; for(i=0;i<3;i++) switch(i) { case 1: printf("%d",i); case 2: printf("%d",i); default: printf("%d",i); } } 执行后输出的结果是A.11122B.12C.12020D.120
考题
以下程序的输出结果是()。includevoid main(){int a(5),b(6),i(0),j(0);switch(a) {
以下程序的输出结果是( )。 #include<iostream.h> void main() { int a(5),b(6),i(0),j(0); switch(a) { case 5:switch(b) { case 5:i++;break; case 6:j++;break; default:i++;j++; } case 6:i++; j++; break; default:i++;j++; } cout<<i<<","<<j<<endl; }A.1,2B.1,3C.2,2D.2,3
考题
下列程序的运行结果为【】。 include void main(void) {int i=10;switch(i){case 9:i=i
下列程序的运行结果为【 】。include<iostream.h>void main(void){int i=10;switch(i){ case 9:i=i+1;case 10:i=i+1;case 11:i=i+1;default:i=i+1;}cout<<i<<endl;}
考题
switch(i){default:System.out.printIn(Hello”);)Whatarethetwoacceptabletypesforthevariablei?()
A.CharB.ByteC.FloatD.DoubleE.Object
考题
有以下程序 main() { int i; for(i=0;i<3;i++) switch(i) { case 0: printf("%d",i); case 2: printf("%d",i); default: printf("%d",i); } } 程序运行后的输出结果是______。A.22111B.21021C.122D.12
考题
以下程序的输出结果是( )。 main { int i; for(i=0;i3;i++) switch(i){case 0:printf("%d",i); case 2:printf("%d",i); default:printf("%d",i); } }A.000102B.000020C.000122D.000111
考题
下列程序的输出结果是【】。 include void main() { inta(5),b(6),i(0)1j(0); switch(a
下列程序的输出结果是【 】。include<iostream.h>void main(){inta(5),b(6),i(0)1j(0);switch(a){case 5:switch(b){case 5:i++;break;case 6:j++;break;defaun:i++;j++;}case 6:i++;j++;break;default:i++;j++;}cout<<i<<","<<j<<endl;}
考题
有以下程序 #includestdi0.h main( ) {int a[]={2,3,5,4),i; for(i=0;i4;i++) switch(i%2) {case 0:switch(a[i]%2) {case 0:a[i]++;break; case l:a[i]--; }break; case1:a[i]=0; } for(i=0;i4;i++)printf("%d",a[i]);printf("\n"); } 程序运行后的输出结果是( )。A.3344B.2050C.3040D.0304
考题
有以下程序 main() { int i; for(i=0;<3;i++) switch(i) { csse 1: printf("%d",i); case 2: printf("%d",i); default: printf("%d",i); } } 执行后输出结果是A.11122B.12C.12020D.120
考题
以下程序的输出结果是( )。main(){ int i; for(i=0;i3;i++) switch(i) { case 0:printf(3;i++)switch(i){ case 0:printf(%d,i);case 2:printf(%d,i);default:printf(%d,i); }}A.000102B.000020C.000122D.000111
考题
The network administrator cannot to switch 1 over a telnet session,although the hosts attached to switch 1 can ping the interface Fa0/0 of the router.Given the information in the graphic and assuming that the router and switch2 are configured properly,which of the following commands should be issued on switch 1 to correct this problem?()A. Switch1(config)# i nterface fa0 /1 Switch1(config-if)# ip address 192.168.24.3.255.255.255.0B. Switch1 (config)#interface fa0/1 Switch1 (config-if)# switchport mode trunkC. Switch 1 (config)# i nterface fa0 /1 Switch1 (config-if)# duplex full Switch1 (config-if)# speed 100D. Switch1 (config-if)# default-gateway 192.168.24.1E. Switch1 (config)# line con 0 Switch1(config-line)# password cisco Switch1 (config-line)#login
考题
#includemain(){ char str[ ]=“The C program”,c;int i;for(i=2;(c=str[i])!=‘\0’;i++){ switch(c){ case ‘g’: ++i; break;case ‘o’: continue;default: printf(“%c”,c); continue;}printf(“*”);}printf(“\n”);}
考题
下面的标记组中,作用不同的有()。A、全部都是B、〈p〉和〈Br〉C、〈I〉〈/I〉和〈Cite〉〈/Cite〉D、〈en〉〈/en〉和〈I〉〈/I〉E、〈strong〉〈/strong〉和〈B〉〈/B〉
考题
switch (i) { default: System.out.printIn(“Hello”); } What is the acceptable type for the variable i?() A、 ByteB、 LongC、 FloatD、 DoubleE、 ObjectF、 A and BG、 C and D
考题
How should TCP/IP be configured on the ent0 network adapter?()A、ifconfig en0 192.168.10.1 netmask 255.255.255.0 gateway 192.168.10.254B、ifconfig ent0 192.168.10.1 netmask 255.255.255.0 gateway 192.168.10.254C、mktcpip test61 -a 192.168.10.1 -i en0 255.255.255.0 192.168.10.254 -smktcpip ? test61 -a 192.168.10.1 -i en0 ? 255.255.255.0 ? 192.168.10.254 -sD、mktcpip test61 -a 192.168.10.1 -i ent0 255.255.255.0 192.168.10.254 -smktcpip ? test61 -a 192.168.10.1 -i ent0 ? 255.255.255.0 ? 192.168.10.254 -s
考题
下面的标记组中,作用相同的有()。A、〈en〉〈/en〉和〈I〉〈/I〉B、全部都是C、〈I〉〈/I〉和〈Cite〉〈/Cite〉D、〈strong〉〈/strong〉和〈B〉〈/B〉E、〈p〉和〈Br〉
考题
单选题switch (i) { default: System.out.printIn(“Hello”); } What is the acceptable type for the variable i?()A
ByteB
LongC
FloatD
DoubleE
ObjectF
A and BG
C and D
考题
多选题下面的标记组中,作用相同的有()。A〈en〉〈/en〉和〈I〉〈/I〉B全部都是C〈I〉〈/I〉和〈Cite〉〈/Cite〉D〈strong〉〈/strong〉和〈B〉〈/B〉E〈p〉和〈Br〉
考题
多选题switch (i) { default: System.out.printIn(“Hello”); ) What are the two acceptable types for the variable i?()ACharBByteCFloatDDoubleEObject
考题
单选题A System p administrator must change the 9.47.53.0 subnet from 128 addresses to 64 addresses. How can the AIX systems in the network be permanently modified to accomplish this()A
mktcpip -h hostname -a 9.47.53.x -m 255.255.255.64 -i en0 -g 9.3.230.1B
ifconfig en0 netmask 255.255.255.64C
chdev -l en0 -a netmask=255.255.255.192D
ifconfig en0 netmask 0xffffffc0
考题
判断题an、en、ün、in各韵母中,a、e、ü、i都是韵腹,n是韵尾。A
对B
错
热门标签
最新试卷