diff --git a/Maths/AbsoluteMin.java b/Maths/AbsoluteMin.java index c09623f5..597944dc 100644 --- a/Maths/AbsoluteMin.java +++ b/Maths/AbsoluteMin.java @@ -10,10 +10,10 @@ import java.util.Arrays; */ public class AbsoluteMin { public static void main(String[] args) { - int[] testnums = new int[]{4, 0, 16}; + int[] testnums = {4, 0, 16}; assert absMin(testnums) == 0; - int[] numbers = new int[]{3, -10, -2}; + int[] numbers = {3, -10, -2}; System.out.println("absMin(" + Arrays.toString(numbers) + ") = " + absMin(numbers)); }