最新回答 / 戒指de味道
import java.util.Arrays;public class HelloWorld { //完成 main 方法 public static void main(String[] args) { HelloWorld hello = new HelloWorld(); int[] scores = {89 , -23 , 64 , 91 , 119 , 52 , 73}; int[] firstScores = hello.firs...
2019-08-11
已采纳回答 / 慕丝9473137
for(int i =0;i<a.length-1;i++) {if (a[i]<a[i+1])int temp=a[i];a[i]=a[i+1];a[i+1]=temp; }java util包中Arrays类里面有排序函数sort( )
2019-08-11
已采纳回答 / 慕丝7977755
问题出在这一句:System.out.println("少年");最后的那个分号时要求英文字符的分号;你打成了中文字符的分号;两个是不一样的中文;英文;
2019-08-08