max{a,b,c}就是最大值
min{a,b,c}就是最小值
publicclasstest{
/**
*@paramargs
*/
publicstaticvoidmain(String[]args){
//TODOAuto-generatedmethodstub
inta=2;
intb=8;
intc=6;
String[]string=newString[2];
if(a=b){
string[1]=String.valueOf(c);
}
System.out.println("MAX:"+string[1]);
System.out.println("MIN:"+string[0]);
}
}