Start learning →

Which sorting algorithm compares each element with the one after it?

AMerge sort
BBubble sort
CQuick sort
DRadix sort
Answer & Solution
Correct answer: B. Bubble sort
Bubble sort repeatedly compares adjacent elements and swaps them if needed.
Practise this question with Quill — ICSE Class 10 →

Keep practising Arrays in Java (Single and Double Dimensional)

Browse all Arrays in Java (Single and Double Dimensional) questions for ICSE Class 10, or explore more Computer Applications topics.

Start a Arrays in Java (Single and Double Dimensional) lesson →