用于对底层数组扩容的方法是(ArrayList源码)?

用于对底层数组扩容的方法是(ArrayList源码)?

A.add

B.ensureCapacityInternal

C.ensureExplicitCapacity

D.grow

正确答案是D