Computer Programming MCQs Java concepts and its programming
Q 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); } } ?
  • A A. 0
  • B B. 1
  • C C. 2
  • D D. 3
Leave a Comment