Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

Assume that the following numbers belonged to an ArrayList called values: 5, 23, 45, −3, 17, 18, 100 Which of the following would determine how many elements are in values? a int numElements = value

Assume that the following numbers belonged to an ArrayList called values:

5, 23, 45, −3, 17, 18, 100

Which of the following would determine how many elements are in values? 

 a

int numElements = values.length;

 b

int numElements = values.length();

 c

int numElements = values.size();

 d

int numElements = values.size;

 e

double numElements = values.size;

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question