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:A
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
Explanation: None.