public void getCustomerInfo() {
try {
// do something that may cause an Exception
} catch (java.io.FileNotFoundException ex){
System.out.print("FileNotFoundException!");
} catch (java.io.IOException ex){
System.out.print("IOException!");
} catch (java.lang.Exception ex){
System.out.print("Exception!");
}
}
A、IOException!Exception!
B、IOException!
C、FileNotFoundException!IOException!
D、FileNotFoundException!IOException!Exception!
B