subject
Computers and Technology, 27.11.2019 16:31 hemaam8

Will somebody anybody? ? pl

assume that you have an array of integers named a. which of these code segments print the same results?
i. int i = 0;
while (i < a. length)
{
system. out. println(a[i]);
i++;
}
ii. int i;
for (i = 0; i < = a. length; i++)
{
system. out. println(a[i]);
}
iii. for (int i : a)
{
system. out. println(i);
}

i and ii only
ii and iii only
i and iii only
all three print the same results.
all three print different results.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 06:50
Match the personality traits with their description
Answers: 1
question
Computers and Technology, 22.06.2019 15:00
The three logical operators used to write compound conditions are "and," "or," and "not." a: true b: false
Answers: 2
question
Computers and Technology, 23.06.2019 04:31
Q14 what is most important for you to choose before you build a network? a. private network b. nos c. network media d. network protocol e. directory service
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
To check whether your writing is clear , you can
Answers: 2
You know the right answer?
Will somebody anybody? ? pl

assume that you have an array of integers named a. which...
Questions
question
Mathematics, 25.04.2020 01:43
question
Mathematics, 25.04.2020 01:43
question
Mathematics, 25.04.2020 01:43
Questions on the website: 13722360