请说出下列程序的输出结果。import java.io.IOException; public class E { public static void main(String args[]){ try { methodA(); } catch(IOException e){ System.out.print("Hello"); return; } finally { System.out.println(" World!"); } } public static void methodA() throws IOException{ throw new IOException(); } }
请说出下列程序的输出结果。import java.io.IOException; public class E { public static void main(String args[]){ try { methodA(); } catch(IOException e){ System.out.print("Hello"); return; } finally { System.out.println(" World!"); } } public static void methodA() throws IOException{ throw new IOException(); } }
发布时间:2024-11-14 14:05:29