Examveda

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

A. trim()

B. trimSize()

C. trimTosize()

D. trimToSize()

Answer: Option D


This Question Belongs to Java Program >> Collections Framework In Java

Join The Discussion

Related Questions on Collections Framework in java