We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae5536b commit 9a31b96Copy full SHA for 9a31b96
Maths/AbsoluteMin.java
@@ -10,10 +10,10 @@
10
*/
11
public class AbsoluteMin {
12
public static void main(String[] args) {
13
- int[] testnums = new int[]{4, 0, 16};
+ int[] testnums = {4, 0, 16};
14
assert absMin(testnums) == 0;
15
16
- int[] numbers = new int[]{3, -10, -2};
+ int[] numbers = {3, -10, -2};
17
System.out.println("absMin(" + Arrays.toString(numbers) + ") = " + absMin(numbers));
18
}
19
0 commit comments