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...

A ________ key is required when one field alone can not be used to identify each unique record in a table

A) relationship B) primary C) static D) composite

Computer Science & Information Technology

A thick markup is placed on a slide in Slide Show view with the ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

Photoshop, Illustrator, and Fireworks are all examples of _______________ programs because they allow you to alter images.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

By default, all guides appear in front of objects on the artboard.

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

Computer Science & Information Technology