以下那个javascript语句是正确的()
A: var.temp;temp=”hello”;
B: String.temp;temp=”hello”;
C: Int.temp;temp=k;
D: Boolean.temp;temp=false;
A: var.temp;temp=”hello”;
B: String.temp;temp=”hello”;
C: Int.temp;temp=k;
D: Boolean.temp;temp=false;
举一反三
- Linux终端执行temp=world;echohello$temp上述命令执行的结果为()。 A: helloworld B: hello$temp C: hello world D: hello
- (2-5)执行下面语句,temp值是( )。long temp = (int) 5.6;temp %= 2;
- 定义一个函数实现交换x和y的值,并将结果正确返回。能够实现此功能的是() A: swapa(int x,int y){ int temp;temp=x;x=y;y=temp;} B: swapb(int *x,int *y){ int temp;temp=x;x=y;y=temp;} C: swapc(int *x,int *y){ int temp;temp=*x;*x=*y;*y=temp;} D: swapd(int *x,int *y){ int *temp;temp=x;x=y;y=temp;}
- 若定义某字节变量temp=0x01;下列可以实现temp右移三位的语句是? A: temp=temp>>3; B: temp=temp<<3; C: temp=_crol_(temp,3); D: temp=_cror_(temp,3);
- 在 java 语言中, 下列语句中正确的是哪个? ( ) A: String temp[]=new String{"a" "b" "c"}; B: String temp[]={"a" , "b" , "c"}; C: String temp={"a" "b" "c"}; D: String temp[]={"a","b","c"};