Which of the following is the correct way to find out the number of elements…

PYQ RPSC Programmer 2011

Which of the following is the correct way to find out the number of elements currently present in an ArrayList Collection called arr?

  1. A.

    arr.Count

  2. B.

    arr.GrowSize

  3. C.

    arr.MaxIndex

  4. D.

    arr.Capacity

Sign up free to check your answer

Sign up free

Explore the full course: Rpsc Programmer

Loading lesson…