Suppose value of the Capacity property of ArrayList Collection is set to 4.…

PYQ RPSC Programmer 2011

Suppose value of the Capacity property of ArrayList Collection is set to 4. What will be the capacity of the Collection on adding fifth element to it?

  1. A.

    4

  2. B.

    8

  3. C.

    16

  4. D.

    32

Sign up free to check your answer

Sign up free

Explore the full course: Rpsc Programmer

Loading lesson…