class Lab25 { public static void main(String[] args) { try { int a=17/0; } catch(Exception x) { System.out.println(x); } System.out.println("rest of the code"); } }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter