1.编写一个方法,实现冒泡排序(由小到大),并调用该方法 package gc; public class gc { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub int a[]={2,4,6,5,9,8,7}; px(a); for (int i = 0; i < a.length; i++) { System.out.println(a[i]);…