+ 2
How to do bubble sort in java?
3 Respuestas
+ 2
In addition, you should define two for loop, first starts from the beginning and the second starts from the second index. I mean for example: i=1 and j=i+1;
And then you can check which one is greater or smaller then change the order.
+ 1
https://www.sololearn.com/learn/649/?ref=app