JavaListsubList

Returns a view of the portion of the list.

Syntax

list.subList(from, to)