Write a public method in the class Test below that has the
signature printMax(int, int) and does not return any value.
The parameters indicate indexes into
the nums array.
The method prints out the largest integer found in the
nums array from the element indexed by the first parameter
through to the element indexed by the second parameter.
The output is of the form
where n is the largest element found.
Write a public method in the class Test below that has the signature printMax(int, int) and does not return any value.
-
- Posts: 43759
- Joined: Sat Aug 07, 2021 7:38 am