Bu yerda Java kodida quyidagilar mavjud: ```java public static void main ((String[] args) { int[] arr = {5, 3, 8, 6, 4}; bubbleSort(arr); System.out.println(Arrays.toString(arr)); // natijasi [3, 4, 5, 6, 8] } public static void bubbleSort(int[] arr) { len int = arr.length; { { for (int i = 0; i len < - 1; i++) { for (int j = 0; j < len - 1 - i; j++) { if (arrj) > [ arrj + 1]) { int = arr[j]; arr[j] = [ arrj + 1]; arr[j + 1]; } } } ```
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence