- 1
What will be printed?
in this code, what will be printed if method() returns an error? try { print("hello"); method(); print("world"); } catch (errorMethod e) { print("universe error"); }
3 Answers
+ 1
No output.
0
won't the error handling code be printed after hello if the error came from method()?