What will be the output of the following Java code snippet?
System.out.println(1/0);
0
Compile-time error
Throws an ArithmeticException
Infinity