Prev Next

Java / List and its implementations

Explain set method of List in Java.

The method set(int index, Element E) updates the element of specified index with the given element E and also returns the element E previously stored at this index.

More Related questions...

Show more question and Answers...


Comments & Discussions