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

Java basics

tekijä

Tulostaulu

Työskentelemme parhaillaan tulostaulukon toiminnallisuuden parantamiseksi. Auta meitä antamalla palautetta.

Palautteen antaminen

Visuaalinen tyyli

Vaihtoehdot

Työskentelemme parhaillaan Toimintojen Asetusten parantamiseksi. Auta meitä antamalla palautetta.

Palautteen antaminen

Vaihda mallia

Säilytetäänkö automaattisesti tallennettu tehtävä ?