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
Compartilhar
Compartilhar
de
Dineshkumars
Editar conteúdo
Imprimir
Incorporar
Mais
Atribuições
Ranking
Mostrar mais
Mostrar menos
Atualmente, este ranking é particular. Clique em
Compartilhar
para torná-lo público.
Este ranking foi desativado pelo proprietário do recurso.
Este ranking está desativado, pois suas opções e as do proprietário do recurso são diferentes.
Reverter opções
Roleta aleatória
é um modelo aberto. Ele não gera pontuações para um ranking.
Login necessário
Estilo visual
Fontes
Assinatura necessária
Opções
Alterar modelo
Mostrar todos
Resultados em aberto
Copiar link
Código QR
Excluir
Restaurar arquivo salvo automaticamente:
?