MCQ
Which elements can be sorted by java.util.Arrays.sort(list,1,5)?
  • list [1] to list [5-1]
  • B
    list [1] to list [5]
  • C
    list [O] to list [5]
  • D
    list [O] to list [5-1]

Answer

Correct option: A.
list [1] to list [5-1]
list [1] to list [5-1]

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free