Prashant Kumar Rai

44%
Flag icon
The set() method changes one of the elements of the ArrayList without changing the size. The method signature is as follows: E set(int index, E newElement) The E return type is the element that got replaced.
OCA: Oracle Certified Associate Java SE 8 Programmer I Study Guide: Exam 1Z0-808 (Sybex Study Guide)
Rate this book
Clear rating
Open Preview