Which method is used to obtain a sublist from an existing List?

Last Updated :
Discuss
Comments

Which method is used to obtain a sublist from an existing List?

list.getSubset(start, end)

list.extract(start, end)

list.subList(start, end)

list.split(start, end)

Share your thoughts in the comments