What is the result that will be printed out ? void aMethod() { float f = (1 / 4) * 10; int i = Math.round(f); System.out.println(i); }
Compiler error.
Compiles and runs printing out 2
Compiles and runs printing out 1
An ArrayIndexOutOfBounds Exception at runtime