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 { 3 int x = 0; int y = 5 / x;

(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: