Loop through the array and set the lowest to a variable.
Code:
Integer[] array = new Integer[num];
// set array values here
int smallest;
for (int i = 1; i < array.length; i++) {
smallest = Math.min((int) array[i - 1], (int) array[i]);
}
System.out.println(smallest);