找考题网-背景图
单项选择题

函数def swap[S,T](tup: (S,T))={ tup match{ case (a,b) => (b,a) } }的作用是? ()

A.完成2个数的交换
B.完成2个数的相加
C.完成2个数的相乘
D.以上都不是

热门试题