下列标号为什么是非法的? (1)GET.DATA (2)1_NUM (3)TEST-DATA (4)RET (5)NEW ITEM
第1题:
A.c
B.6
C.4
D.undefined
第2题:
print({x:’item’+str(x**2)forxin(2,4,6)})输出什么?()
第3题:
下列标号()是合法的。
第4题:
下列标号合法的是()。
第5题:
若有定义 class A{int x,y; static float f(int a){…} float g(int x1,int x2){…}} 及A a1=new A( );则下列用法中非法的是( )。
第6题:
若主程序通过堆栈向子程序传递了3个参数,子程序返回主程序时,在子程序中清除堆栈中3个参数正确的RET指令是()。
第7题:
下列的数组定义语句,不正确的是()。
第8题:
以下的数组定义语句中,不正确的是()
第9题:
g(3,2)
f(3)
a1.f(4)
a1.g(2,5)
第10题:
int[5] a= {1,2,3,4,5};
int[2][2] a = {{1,2},{3,4}};
int[][] a = {{2,3,4,5},new int[3]};
int[][] a = new int[][5];
第11题:
int[] a=new int[5]{1,2,3,4,5};
int[,] a=new int[3][4];
int[][] a=new int[3][];
int[] a={1,2,3,4,5};
第12题:
0 1 2 3 4 5
1 2 3 4 5 6
-1 0 1 2 3 4
0 1 2 3 4
第13题:
第14题:
CDS路测软件进行图铃下载测试的设置时,在“WAP自动刷新”页中的Item框中的内容是“1,2;3,1;7,1,2;5,2,3;4,2,3;”,表明要下载()个测试项目。
第15题:
下列数组初始化正确的是:()
第16题:
public class Item { private String desc; public String getDescription() { return desc; } public void setDescription(String d) { desc = d; } public static void modifyDesc(Item item, String desc) { item = new Item(); item.setDescription(desc); } public static void main(String[] args) { Item it = new Item(); it.setDescription(”Gobstopper”); Item it2 = new Item(); it2.setDescription(”Fizzylifting”); modifyDesc(it, “Scrumdiddlyumptious”); System.out.println(it.getDescription()); System.out.println(it2.getDescription()); } } What is the outcome of the code? ()
第17题:
下列数组的定义不合法的是()
第18题:
以下()代码,能够对数组正确初始化(或者是默认初始化)。
第19题:
下列语句中,不能正确定义长度为4的数组a的语句是()
第20题:
var arr = new Array(new Array(9,0,3,4,5) , ['a' , 'b' , 'c'] , new Array(2,9,0,6)); 则arr[1][3]=()
第21题:
int[] a=new int[]{1,2,3,4};
int[] a= {1,2,3,4};
int[] a=new int[4]{1,2,3};
int[] a=new int[4]{1,2,3,4};
第22题:
char c[][]=new char[2][4]
char c[][]=new char[2][]
char [][]c=new char[][3]
int []a[] = new int[5][5]
第23题:
int a[]=new int[5]{1,2,3,4,5}
int[,]a=new inta[3][4]
int[][]a=new int[3][];
int[]a={1,2,3,4};