Menu

Printed Int 5 Int J 6 6 Systemprint 1 J 6 Systemprint 2 Else Systemprint 3 J 6 Systemprint Q43900808

What is printed?int i = 5;int j = 6;if (i == 6) System.out.print(“1”); if (j == 6) System.out.print(“2”);else System.out.print(“3”);if (j == 6) System.out.print(“4”);

Expert Answer


Answer to What is printed? int i = 5; int j = 6; if (i == 6) System.out.print(“1”); if (j == 6) System.out.print(“2”); else Syste…

OR