📚 Practice Mode

Basics of Exception Handling in Java

Learn at your own pace with hints and detailed explanations

1 / 14
Multiple Choice

What would be the output of the following program?

Class A {
 public static void main(String args[]) {
  int a = 0;
  int b = 10 / a;
 }
}
  1. 0
  2. 10
  3. Infinite
  4. RuntimeException
  5. Compile Time Exception