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 .
0%
Java basics
Share
Share
Share
by
Dineshkumars
I-edit ang Content
I-Print kini
Embed
Uban pa
Assignments
Leaderboard
Show more
Show less
Kini nga leaderboard naka-pribado. Pag-klik sa
Share
aron himuon kini nga publiko.
Kini nga leaderboard gi-disable sa tag-iya sa resource.
Kini nga leaderboard gi-disable tungod ang imong mga kapilian lahi ra sa tag-iya sa resource.
I-revert ang mga Kapilian
Ang
Random wheel
usa ka open-ended nga template. Dili kini makamugna ug mga marka sa leaderboard.
Kinahanglan mag log in
Visual style
Fonts
Subscription required
Mga Option
I-switch ang template
Ipakita tanan
Daghang mga format ang mugawas samtang gidula nimo ang activity.
)
Open results
Copy link
QR code
Mag-delete
I-restore ang gi-autosave:
?