public class MyArray<V> {
private ArrayList<V> elements;
// Creates a MyArray of size "size" and fill it with null objects.
// Throws NegativeArraySizeException if "size" is negative.
public MyArray(int size) throws NegativeArraySizeException
我如何创建这个数组,我对使用的泛型类感到困惑,并且用空对象填充它是否意味着将其留空?