Java Magazine, July/August 2018
ORACLE COM JAVAMAGAZINE JULY AUGUST 2018 77 fix this What is the result Choose one A 121 B 123 C 234 D 345 E Three digits but the exact values are platform and implementation dependent Question 2 intermediate Given this public class CustomException extends Exception And this public class BadCalculator public static void main String args try new BadCalculator divide catch Error err System out println main catch void divide throws Error try int i 1 0 catch RuntimeException re System out println catch throw new CustomException finally System out println finally Answer 2 page 81
You must have JavaScript enabled to view digital editions.