- class Test {
- public static void main(String[] args) {
- int[] arr = {7, 8, 6, 45, 48, 95, 412};
- Arraytool.dayin(arr);
- int max = Arraytool.getMax(arr);
- System.out.println("max="+max);
- System.out.println(Arraytool.jiaobiao(arr, 6));
- Arraytool.paixu(arr);
- Arraytool.dayin(arr);
- }
- }
复制代码 |