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 02:50
Which of the following had the greatest influence on opening the internet to the generly public
Answers: 1
question
Computers and Technology, 23.06.2019 12:00
Using the list, you can select the number of photos that will appear on each slide. a. theme b. frame shape c. pictures in album d. picture layout
Answers: 1
question
Computers and Technology, 23.06.2019 16:30
Monica and her team have implemented is successfully in an organization. what factor leads to successful is implementation? good between different departments in an organization leads to successful is implementation.
Answers: 1
question
Computers and Technology, 23.06.2019 19:30
2. fluorine and chlorine molecules are blamed fora trapping the sun's energyob forming acid rainoc producing smogod destroying ozone molecules
Answers: 2
You know the right answer?
Consider the classes below:
public class testa
{
public static void main(string a...
Questions
question
Mathematics, 08.12.2020 15:10
question
Mathematics, 08.12.2020 15:10
question
English, 08.12.2020 15:10
question
History, 08.12.2020 15:10
question
Mathematics, 08.12.2020 15:10
question
English, 08.12.2020 15:20
question
World Languages, 08.12.2020 15:20