java实现数组排序,随机产生20个整数,按升序排,并对排序前后的数组按照...答:int i=(int)(Math.random()*12+1);String str="";System.out.println(i);String month[]=new String[]{"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"};switch(i){ case 1:str=month[0];break;case 2:str=month[1];break;case 3:str=...