![](https://static.youtibao.com/asksite/comm/h5/images/m_q_title.png)
[单选题]
ActionAPI完成返回数据集中的元素个数的操作命令是()。
A.first()
B.reduce(func)
C.count()
D.take(n)
![](https://static.youtibao.com/asksite/comm/h5/images/m_q_a.png)
C、count()
![](https://static.youtibao.com/asksite/comm/h5/images/solist_ts.png)
A.first()
B.reduce(func)
C.count()
D.take(n)
C、count()
编写一个方法,计算给定的两个数组之和,格式如下:
要求返回的数组元素是两个参数数组对应元素之和,不对应的元素直接赋给相应的位置。例如,{1,2,4}+{2,4,6,8}={3,6,10,8}。