阅读背景:

Java -如何在每次迭代中分割数组并有效地传递给函数?

来源:互联网 

I have an array that holds some values and a function that takes in two arrays. What I want to do is split the array so that the last element is not in the array so I have two arrays, one that has all the original elements except the last and one that has just one element - the last. After I pass this into a function, I want to use the original array but this time put the second last element into a seperate array and so on. I want to do this five times. The following will explain it better:I have an array that holds some values and a fu




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: