Discussion :: JAVA MCQs
- Which of these method is used to reduce the capacity of an ArrayList object?
Answer : Option D
Explanation :
trimTosize() is used to reduce the size of the array that underlines an ArrayList object.
Be The First To Comment