Java Program to Find the Second Highest Number in an Array

Write a java program to find the second highest number in an array. Given an unsorted array, we have to write a java code to find the second highest number in an array.