What is the value of times displayed?

```
public class Test {
public static void main(String[] args) {
Count myCount = new Count();
int times = 0;

for (int i=0; i<100; i++)
increment(myCount, times);

System.out.println(
"myCount.count = " + myCount.count);
System.out.println("times = "+ times);
}

public static void increment(Count c, int times) {
c.count++;
times++;
}
}

class Count {
int count;

Count(int c) {
count = c;
}

Count() {
count = 1;
}
}
```
a. 101
b. 100
c. 99
d. 98
e. 0

e. 0

Computer Science & Information Technology

You might also like to view...

A worm is a piece of code that an end user executes

Indicate whether the statement is true or false

Computer Science & Information Technology

Relational operators allow you to test variables to see if one is greater or less than another variable or value.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology