What will be the output? int a = 5;int b = ++a + a++;System.out.println(b);, 10, 11, 12, 13, What will be printed?int x = 10;System.out.println(x++ + ++x);, 21, 22, 23, 24, Identify the output:int a = 10;if(a = 5)System.out.println("True");elseSystem.out.println("False"), True, False, Compile-time error, Run time error ) Runtime error Runtime error, What will be the output?int i = 1;while(i <= 3) {System.out.print(i + " ");i++;}, 1 2 3, 1 2, 1 2 3 4, ) Infinite loop ) Runtime error Runtime error, What will be the output?int a = 5;int b = 10;System.out.println(a > b ? a : b);, 5, 10, true, false ) Runtime error Runtime error

Leaderboard

We are currently working on improving the Leaderboard functionality. Please help us by offering your feedback.

Paghatag ug Feedback

Visual style

Mga Option

We are currently working on improving the Activity Settings. Please help us by offering your feedback.

Paghatag ug Feedback

I-switch ang template

I-restore ang gi-autosave: ?