单项选择题
A.字符串列表B.整型列表C.空列表D.二维列表
var myVar : String = "Foo"其中myVar是什么类型? ()A.字符序列B.LongC...
单项选择题var myVar : String = "Foo"其中myVar是什么类型? ()
A.字符序列B.LongC.IntD.Short
函数def swap[S,T](tup: (S,T))={ tup match{ case (a,b) => ...
单项选择题函数def swap[S,T](tup: (S,T))={ tup match{ case (a,b) => (b,a) } }的作用是? ()
A.完成2个数的交换B.完成2个数的相加C.完成2个数的相乘D.以上都不是
Java:for(int i=10;i>=0;i–)System.out.println(i)在scala中怎...
单项选择题Java:for(int i=10;i>=0;i–)System.out.println(i)在scala中怎么表示? ()
A.for(i < -1to 10reverse)print(i)B.for(i < -0to 10reverse)print(i)C.for(i < -1to 10)print(i)D.for(i < -1to 11reverse)print(i)