书写方法在[位置]变量中存储的位置将[]插入到数字[]中。将数组插入另一个数组
public boolean insertArray(int location, double a[])
{
if (length != MAX_CAPACITY)
{
numbers[location] = a[];
length++;
return true;
}
return false;
}
是否可以通过数组?
“数字”的类型是什么? – shmosel
使用循环。你可以使用'arraycopy',但我想这只是练习目的。 – Yoda
当我们不知道问题的参数时,怎么会有这么多的答案? – shmosel