adplus-dvertising
frame-decoration

Question

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

a.

arr.Capacity

b.

arr.Count

c.

arr.MaxIndex

d.

arr.UpperBound

Answer: (b).arr.Count

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which among the following is the correct way to find out the number of elements currently present in an ArrayListCollection called arr?