Skip to content

Commit a471c02

Browse files
author
赵坤
committed
fix error comments
1 parent ad0e95c commit a471c02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sorts/src/sort/BubbleSort.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ public static void main(String[] args) {
4343
BubbleSort bubbleSort = new BubbleSort();
4444
bubbleSort.sort(integers);
4545

46-
// Output => 1 4 6 9 12 23 54 78 231
46+
// Output => 231, 78, 54, 23, 12, 9, 6, 4, 1
4747
print(integers);
4848

4949
// String Input
5050
String[] strings = {"c", "a", "e", "b","d"};
51-
//Output => a b c d e
51+
//Output => e, d, c, b, a
5252
print(bubbleSort.sort(strings));
5353

5454
}

0 commit comments

Comments
 (0)