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