题目内容

关于数组val a = Array(1,2,3)下列说法错误的是?

A. val b = 2 * a // b 等于 Array(2,4,6)
B. val b = a.map(_*2) // b 等于 Array(2,4,6)
C. val b = for(elem <- a) yield 2 * elem // b 等于 Array(2,4,6)
D. val b = for(elem <- a if elem % 2 == 0) yield 2 * elem // b 等于 Array(4)

查看答案
更多问题

Dose the writer support the idea that "one's personality can be summed up in a word"? ( Para.2 ) What evidence in the text can you find to support your answer?

Of the two main factors (heredity and environment) that influence one's personality, which one has a greater influence?

How does family environment affect a child's personality?

According to the writer, when is the best time for a person to devolope his/her personality? Why?

答案查题题库