public class Number {
public static int count(int m,int n){
return m * n;
}
public static void main(String args[]) throws Exception{
try{
int result = count(12315,57876876);
System.out.println(result);
}
catch (Exception e) {
e.printStackTrace();
}
}
public static int count(int m,int n){
return m * n;
}
public static void main(String args[]) throws Exception{
try{
int result = count(12315,57876876);
System.out.println(result);
}
catch (Exception e) {
e.printStackTrace();
}
}
}
只有输出结果-210843196,并没有异常提示,请教原因?