Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Which is correct about the number of items stored in full arrays and an ArrayLis

ID: 3720621 • Letter: W

Question

Which is correct about the number of items stored in full arrays and an ArrayLists?

1.ArrayList uses the size() method and arrays use the length property

2.ArrayList uses the size() method and arrays use the length() method

3.ArrayList uses the size property and arrays use the length propetry

4.Both use the size() method.

1.ArrayList uses the size() method and arrays use the length property

2.ArrayList uses the size() method and arrays use the length() method

3.ArrayList uses the size property and arrays use the length propetry

4.Both use the size() method.

Explanation / Answer

Answer) 1.ArrayList uses the size() method and arrays use the length property

Explanation:- ArrayList uses the method size() to get the size whereas arrays use the length property to get the size

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote