What will the output of the following program? public class Test{ public static void main(String args[]){float f = (1 / 4) * 10; int i = Math.round(f); System.out.println(i); } } ?
Found an error? Read our corrections policy and submit a sourced correction below. You can also share a useful explanation in your own words.