Which Of These Method Is Used To Reduce The Capacity Of An #667
Which of these method is used to reduce the capacity of an ArrayList object?
This multiple choice question (MCQ) is related to the book/course gs gs128 Java. It can also be found in gs gs128 Java Util Collections Framework - Java.util - ArrayList Class - Quiz No.1.
Which of these method is used to reduce the capacity of an ArrayList object?
trim()
trimSize()
trimTosize()
trimToSize()