private static void intMin()
    {
        printTitle("Stream.min() example");
        
        int[] arr = {1, 2, 24, 5, 5, 7, 8};
        int min = Arrays.stream(arr)
            .min()
            .getAsInt();
            
        System.out.println("Min value: " + min);
            
    }