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;
}
```
You might also like to view...
The class GridLayout constructs to hold components.
a. a horizontal grid with one row b. a vertical grid with one column c. a grid with multiple rows and columns d. a square grid with the same number of rows as columns
The most widely used service on the Internet is e-mail.
Answer the following statement true (T) or false (F)
Which of the following items is NOT included on your snapshot?
A) Profession B) Messages C) Education D) Previous employment
Access is a ____.
A. word processing software tool B. file management system C. workbook management system D. database management system