Dassault Systèmes interview question

Write a java function to Find the second largest number in a array