package shuzu; import java.util.Arrays; public class Min { public static void main(String[] args) { // TODO Auto-generated method stub int arr[] = {4,7,6,2,9}; Arrays.sort(arr); System.out.println(arr[0]); } }
package shuzu; import java.util.Arrays; public class Min { public static void main(String[] args) { // TODO Auto-generated method stub int arr[] = {4,7,6,2,9}; Arrays.sort(arr); System.out.println(arr[0]); } }