Gr H.

asked • 01/24/22

Please answer the question in description

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;


1 Expert Answer

By:

David W. answered • 01/28/22

Tutor
5.0 (432)

.NET/C# Developer

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.