//软件工程作业P37第三题 import java.util.Arrays; //假设传入的数组是{how,are,you} public class Test0001 { public void theExchangeOfWords(String[] a){ for (int i = 0; i < a.length/2; i++) { String temp; temp=a[i]; a[i]=a[a.length-1-i]; a[a.length-
//软件工程作业P37第二题import java.util.Arrays;//假设传入的数组是{1,-2,3,-2,5,1}public class Test0000 {public void max(int[] a) {int b[] = new int[10];int c[] = new int[10];int d[] = new int[10];int e[] = new int[10];int f[] = new int[10];int g[] = new int[5];for (in