FOR Loop

Descripción

for loop quiz
Mohit Kaushik
Test por Mohit Kaushik, actualizado hace más de 1 año
Mohit Kaushik
Creado por Mohit Kaushik hace casi 9 años
13
0

Resumen del Recurso

Pregunta 1

Pregunta
What is the output of the program? int i=1; for( ;i<=10;i++); System.out.print(i);
Respuesta
  • 1
  • 10
  • 11
  • compile time error

Pregunta 2

Pregunta
What is the output of program? int i=0; for(;i<10;i++) System.out.print(i);
Respuesta
  • 11
  • 10
  • 0
  • 0123456789
Mostrar resumen completo Ocultar resumen completo

Similar

Translations and transformations of functions
Christine Laurich
quiz
Amon Saad
Biology - B2 - AQA - GCSE - Exam Style Questions
Josh Anderson
Computer science quiz
Ryan Barton
AQA Biology B1 Questions
Bella Statham
AQA Biology B2 Questions
Bella Statham
AQA Physics P1 Quiz
Bella Statham
GCSE AQA Biology 1 Quiz
Lilac Potato
AQA GCSE Product Design Questions
Bella Statham
Waves
kate.siena
General Knowledge Quiz
Andrea Leyden