What will be the output of the program? (a) Compilation error (b) Finished (c) Exception (d) Arithmetic

Question:

What will be the output of the program?public class Test { public static void main(String [] args) { try { int x = 0; } } int y = x / 5;

(a) Compilation error

(b) Finished

(c) Exception

(d) Arithmetic Exception

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: