FOR Loop

Descrição

for loop quiz
Mohit Kaushik
Quiz por Mohit Kaushik, atualizado more than 1 year ago
Mohit Kaushik
Criado por Mohit Kaushik mais de 9 anos atrás
14
0

Resumo de Recurso

Questão 1

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

Questão 2

Questão
What is the output of program? int i=0; for(;i<10;i++) System.out.print(i);
Responda
  • 11
  • 10
  • 0
  • 0123456789

Semelhante

Translations and transformations of functions
Christine Laurich
quiz
Amon Saad
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
Biology - B2 - AQA - GCSE - Exam Style Questions
Josh Anderson
Computer science quiz
Ryan Barton