用于判断底层数组是否需要扩容的ArrayList源码方法是?

用于判断底层数组是否需要扩容的ArrayList源码方法是?

A.add

B.ensureCapacityInternal

C.ensureExplicitCapacity

D.grow

正确答案是C