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...
________ enables interactive functionality beyond the simple display of information on a web page by providing a platform which can execute a program to do things like collect data from the user
A) OC B) ACK C) CGI D) UDP
Computer Science & Information Technology
A class that has one or more classes defined within it is called a(n)
a) super class. b) container class. c) inner class. d) enclosing class.
Computer Science & Information Technology