Question: which one is the right answer? Lock 3- The Output of following Java program? class Main { public static void main(String args[]) { int x

 which one is the right answer? Lock 3- The Output of

which one is the right answer?

Lock 3- The Output of following Java program? class Main { public static void main(String args[]) { int x = 0; int y = 10; int z = y/x; Ca-Compiler Error b-Compiles and runs fine c. Compiles fine but throws Arithmetic Exception exception onts on interface, it must provi

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!