java冒泡排序

public class BubbleSort { public static void main(String[] args) { // 建立一個數組,這個數組元素是亂序的 int[] array = { 63, 4, 24, 1, 3, 15 }; // 建立冒泡排序類的對象 BubbleSort sorter = new BubbleSort(); // 調用排序方法將
相關文章
相關標籤/搜索