Write a method that takes in at least one integer and returns the largest of all integer parameters sent in.

What will be an ideal response?

```
public void largest(int first, int ... numbers) {
int currentLargest = first;
for(int num : numbers)
if(num > currentLargest)
currentLargest = num;

return currentLargest;
}
```

Computer Science & Information Technology

You might also like to view...

If an arithmetic expression contains more than one operator, __________ are evaluated first.

A) anything in parenthesis B) multiplication and division C) exponentiation D) addition and subtraction

Computer Science & Information Technology

An agile modeling process has the following steps:

What will be an ideal response?

Computer Science & Information Technology