🎴 Flashcard Mode

Java Collection (GATE - CS)

Card1 / 12
Mastered0
Review0
QuestionClick to flip

Which of the following methods are present in List Interface?

AnswerClick to flip back
A
SubList (int startindex, int endindex)
💡 Explanation:

This is the correct answer. SubList() method is present in the List Interface and it returns a sublist from the startindex to the endindex. So, this is the correct answer.

Change Mode