D. Only non-floating division can throw an ArithmeticException . public class MainClass{ public static void main(String[] argv){ System.out.println(1/(1-1)); } }
Exception in thread "main" java.lang.ArithmeticException: / by zero at MainClass.main(MainClass.java:3)