What will be the results after the following code is executed?

```
int[] array1 = new int[25];
... // Code that will put values in array1
int value = array1[0];
for (int a = 1; a < array1.length; a++)
{
if (array1[a] < value)
value = array1[a];
}
```

a. value contains the highest value in array1
b. value contains the lowest value in array1
c. value contains the sum of all the values in array1
d. value contains the average of all the values in array1

b. value contains the lowest value in array1

Computer Science & Information Technology

You might also like to view...

By default, tables print in ________ view

Fill in the blank(s) with correct word

Computer Science & Information Technology

When creating an e-mail link on a Web page, including a ____ for the e-mail message makes it easy for the person who receives the messages to see e-mails have originated from the Web site.

A. URL B. subject line C. Web address D. link

Computer Science & Information Technology