KVP Business Solutions interview question

write a program to find second largest element in an array? in any object oriented programming language .