【简答题】(9-3)请阅读程序,然后写出程序运行结果。(请注意输出不换行) public class Demo3 { public static void main(String[] args ) { int a =9, b =0; double x =9, y =0; try { int c = a / b ; } catch (Exception e1 ) { System. out .print( "...
【简答题】(9-3)请阅读程序,然后写出程序运行结果。(请注意输出不换行) public class Demo3 { public static void main(String[] args ) { int a =9, b =0; double x =9, y =0; try { double z = x / y ; } catch (Exception e1 ) { System. out .print...
【简答题】(9-3)请阅读程序,然后写出程序运行结果。(注意输出没有换行) public class Demo8 { static void show( int x ) { try { if ( x ==2) throw new Exception(); System. out .print( "1" ); } catch (Exception e ) { System. out .print( "2" )...