Which statement is true about the java.util.ArrayList class? Select the one correct answer. (a) The method delete()

Question:

Which statement is true about the java.util.ArrayList class?

Select the one correct answer.

(a) The method delete() can be used to delete an element at a specific index in an ArrayList.

(b) The method deleteAll() can be used to delete all elements in an ArrayList.

(c) The method insert() can be used to insert an element at a specific index in an ArrayList.

(d) The method append() can be used to append an element at the end of an ArrayList.

(e) The method replace() can be used to replace the element at a specific index with another element in an ArrayList.

(f) The method find() can be used to determine whether an element is in an ArrayList.

(g) The method capacity() can be used to determine the current capacity of an ArrayList.

(h) None of the above.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: