下面程序的功能是通过调用 max 方法求给定的三个数的最大值,请将程序补充完整。 Import java.io.∗;
Public class TestMax{
Public static void main( String args[]){
int i1=4567,i2=123,i3=-900;
int MaxValue;
MaxValue=( ________ );
System.out.println("三个数的最大值:"+MaxValue);
}
Public ( _________ ) int max(int x, int y, int z){
int templ,max_value;
Temp1 = x > y ? x : y;
Max_value = temp 1 > z ? temp1 : z , Return max_value;
}
}