subject

Consider the classes below:
public class testa
{
public static void main(string args[])
{
int x = 2;
int y = 20
int counter = 0;
for (int j = y % x; j < 100; j += (y / x))
counter++;
}
}
public class testb
{ public static void main(string args[]) { int counter = 0; for (int j = 10; j > 0; --j) ++counter; }}
which of the following statements is true? a. the value of counter will be different at the end of each for loop for each class. b. the value of j will be the same for each loop for all iterationsc. both (a) and (b) are true. d. neither (a) nor (b) is true

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 01:30
How will you cite information that is common knowledge in your research paper?
Answers: 1
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 08:00
What is the first step in creating a maintenance ?
Answers: 2
question
Computers and Technology, 23.06.2019 02:00
Which software would you use to create a print design? a. illustrator b. audacity c. reaper d. dreamweaver
Answers: 2
You know the right answer?
Consider the classes below:
public class testa
{
public static void main(string a...
Questions
question
English, 09.09.2021 18:30
question
Mathematics, 09.09.2021 18:30
Questions on the website: 13722360