找不到符号
请洒潘江,各倾陆海云尔。//下面为编译时爆出的错误
Scannertest.java :11: Error: symbol not found
max1 = (numl> num2)? numl: num2;
//下面为我的代码
public class ScannerTest{
public static void main(string[] args){
//交换num1与num2
int num1= 2, num2= 3, num3= 4;
int temp;
temp= num1;
num1= num2;
num2= temp;
//3个数选最大
int max;
max1= (num1> num2)? num1: num2;
max= (max1 >num3)? max1: num3;
System. out. printLn (max);
}
}