int[] arr = {12,23,34,56,56,56,78};
for(int i =0;i<
;i++)
for(int
=
;j<arr.length-i-1;j++) if(arr[j]>arr[j+1]) int temp = arr[j]
arr[j]=arr[j+1] arr[j+1]=temp;