[Solved] The growth factor of ArrayList in Java is _______ (MCQ)

The growth factor of ArrayList in Java is _______

a) 1
b) 1.5
c) 2
d) 0

Answer: b
Explanation: The growth factor of dynamic arrays (Array List) in Java is 3/2.
The new array capacity is calculated as new_array_size = (old_array_size*3)/2+1.

Comments