这句“if (a<b)” 啥时候发生错误?你试试: int a=100;
int b=0;
try
{
a=a/b;
System.out.println("大于小于");
}
catch(Exception e)
{
System.out.println("sdasdasdasd");
}
int b=0;
try
{
a=a/b;
System.out.println("大于小于");
}
catch(Exception e)
{
System.out.println("sdasdasdasd");
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货