Page 1 of 1

Which of these method is used to reduce the capacity of an ArrayList object?

Posted: Wed Jul 13, 2022 7:46 pm
by answerhappygod
a) trim()
b) trimSize()
c) trimTosize()
d) trimToSize()